Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 198.5 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9832/0.9832, allocations: 143 MB / 433 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1562, allocations: 82.04 MB / 0.5937 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.462/0.6183, allocations: 191.6 MB / 0.7809 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008694/0.6271, allocations: 5.185 MB / 0.7859 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.6288, allocations: 43.69 kB / 0.786 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.6307, allocations: 0.7272 MB / 0.7867 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006743/0.6375, allocations: 2.44 MB / 0.7891 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.6402, allocations: 1.01 MB / 0.79 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004117/0.6443, allocations: 3.607 MB / 0.7936 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.6458, allocations: 0.8651 MB / 0.7944 GB, free: 156 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.648, allocations: 1.019 MB / 0.7954 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.6497, allocations: 1.027 MB / 0.7964 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.6498, allocations: 56 kB / 0.7965 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003769/0.6536, allocations: 2.081 MB / 0.7985 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005054/0.6541, allocations: 422.6 kB / 0.7989 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007824/0.6549, allocations: 0.63 MB / 0.7995 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003519/0.6584, allocations: 2.317 MB / 0.8018 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.6585, allocations: 0 / 0.8018 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6585, allocations: 0 / 0.8018 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.6585, allocations: 4 kB / 0.8018 GB, free: 8.582 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005607/0.6641, allocations: 1.952 MB / 0.8037 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.6642, allocations: 8.031 kB / 0.8037 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.6644, allocations: 151.5 kB / 0.8038 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005644/0.67, allocations: 0.8955 MB / 0.8047 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.6717, allocations: 0.9059 MB / 0.8056 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/0.6718, allocations: 69.98 kB / 0.8057 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.672, allocations: 92 kB / 0.8058 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003681/0.6757, allocations: 1.579 MB / 0.8073 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.6757, allocations: 7.938 kB / 0.8073 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.6758, allocations: 36.88 kB / 0.8073 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/0.6759, allocations: 45.98 kB / 0.8074 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005083/0.681, allocations: 1.842 MB / 0.8092 GB, free: 0.8516 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007389/0.6884, allocations: 4.74 MB / 0.8138 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004259/0.6926, allocations: 1.574 MB / 0.8153 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/0.6949, allocations: 0.8429 MB / 0.8162 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001449/0.6963, allocations: 0.9452 MB / 0.8171 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002611/0.699, allocations: 0.9187 MB / 0.818 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 3.226e-06/0.699, allocations: 0 / 0.818 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.00776/0.7068, allocations: 2.45 MB / 0.8204 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.7068, allocations: 64.39 kB / 0.8204 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.7086, allocations: 1.205 MB / 0.8216 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.7087, allocations: 41.7 kB / 0.8217 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.7092, allocations: 0.5409 MB / 0.8222 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.7096, allocations: 327.3 kB / 0.8225 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003894/0.71, allocations: 186.5 kB / 0.8227 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7101, allocations: 345.9 kB / 0.823 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.7123, allocations: 0.7044 MB / 0.8237 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0023/0.7146, allocations: 0.9112 MB / 0.8246 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004235/0.7188, allocations: 1.558 MB / 0.8261 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.7188, allocations: 3.938 kB / 0.8261 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004956/0.7238, allocations: 1.772 MB / 0.8278 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.7238, allocations: 8.938 kB / 0.8278 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.7239, allocations: 7.938 kB / 0.8279 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.7239, allocations: 8 kB / 0.8279 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.7257, allocations: 343.8 kB / 0.8282 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.598e-05/0.7257, allocations: 8 kB / 0.8282 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.7275, allocations: 254.7 kB / 0.8284 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.7277, allocations: 51.97 kB / 0.8285 GB, free: 12.46 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006595/0.7284, allocations: 339.7 kB / 0.8288 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/0.7287, allocations: 134.3 kB / 0.8289 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/0.7341, allocations: 1.801 MB / 0.8307 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.7342, allocations: 8 kB / 0.8307 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.7342, allocations: 0 / 0.8307 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.7342, allocations: 11.92 kB / 0.8307 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008629/0.7428, allocations: 3.322 MB / 0.834 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.7429, allocations: 4.5 kB / 0.834 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/0.7446, allocations: 291.5 kB / 0.8342 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.117e-05/0.7446, allocations: 11.98 kB / 0.8343 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.7447, allocations: 31.97 kB / 0.8343 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.7448, allocations: 8 kB / 0.8343 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.7448, allocations: 7.938 kB / 0.8343 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007504/0.7523, allocations: 2.848 MB / 0.8371 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006869/0.753, allocations: 315.2 kB / 0.8374 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/0.7533, allocations: 27.98 kB / 0.8374 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/0.755, allocations: 183.6 kB / 0.8376 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.7552, allocations: 68.45 kB / 0.8377 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.7553, allocations: 35.97 kB / 0.8377 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001197/0.7565, allocations: 0.8392 MB / 0.8385 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7565, allocations: 4 kB / 0.8385 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001278/0.7578, allocations: 339.7 kB / 0.8388 GB, free: 1.652 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009022/0.7669, allocations: 3.838 MB / 0.8426 GB, free: 13.94 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004971/0.7718, allocations: 1.622 MB / 0.8442 GB, free: 12.31 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.7719, allocations: 4 kB / 0.8442 GB, free: 12.31 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.7745, allocations: 0.8322 MB / 0.845 GB, free: 11.48 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/0.7776, allocations: 0.5829 MB / 0.8456 GB, free: 10.89 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2869/1.065, allocations: 13.22 MB / 0.8585 GB, free: 210.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/1.065, allocations: 1.182 MB / 0.8596 GB, free: 209.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001629/1.067, allocations: 356.5 kB / 0.86 GB, free: 209.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008699/1.068, allocations: 0.5016 MB / 0.8605 GB, free: 209.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.312e-06/1.068, allocations: 0.9688 kB / 0.8605 GB, free: 209.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06369/1.131, allocations: 34.17 MB / 0.8938 GB, free: 205.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/1.132, allocations: 257.3 kB / 0.8941 GB, free: 204.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/3.748, allocations: 3.938 kB / 0.8941 GB, free: 204.9 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)