Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.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: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001345, allocations: 107.1 kB / 15.99 MB, free: 6.348 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.001175/0.001176, allocations: 190.9 kB / 16.91 MB, free: 6.184 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.8564/0.8564, allocations: 143.1 MB / 433.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 0.5143 GB, free: 15.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3369, allocations: 82.03 MB / 0.5944 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01071/0.3476, allocations: 14.36 MB / 0.6085 GB, free: 1.992 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00426/0.3519, allocations: 3.616 MB / 0.612 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004059/0.3524, allocations: 19.88 kB / 0.612 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000594/0.353, allocations: 179 kB / 0.6122 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.3543, allocations: 0.5493 MB / 0.6127 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000829/0.3551, allocations: 352.3 kB / 0.6131 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.3563, allocations: 1.105 MB / 0.6141 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.3567, allocations: 317.1 kB / 0.6144 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000878/0.3576, allocations: 386.6 kB / 0.6148 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.358, allocations: 318.6 kB / 0.6151 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.358, allocations: 33.38 kB / 0.6151 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004889/0.3585, allocations: 255.4 kB / 0.6154 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.9e-05/0.3586, allocations: 95.66 kB / 0.6155 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.3588, allocations: 219.7 kB / 0.6157 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005354/0.3594, allocations: 476.9 kB / 0.6161 GB, free: 10.14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3594, allocations: 6.594 kB / 0.6161 GB, free: 10.14 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.3594, allocations: 0 / 0.6161 GB, free: 10.14 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.3594, allocations: 3.938 kB / 0.6161 GB, free: 10.14 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001086/0.3605, allocations: 0.7418 MB / 0.6169 GB, free: 9.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3605, allocations: 8.531 kB / 0.6169 GB, free: 9.332 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.3607, allocations: 45.75 kB / 0.6169 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006862/0.3614, allocations: 493.3 kB / 0.6174 GB, free: 8.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.3615, allocations: 20.69 kB / 0.6174 GB, free: 8.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.3615, allocations: 28 kB / 0.6174 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.3621, allocations: 308.1 kB / 0.6177 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3621, allocations: 0.9688 kB / 0.6177 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.3622, allocations: 8 kB / 0.6177 GB, free: 8.398 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/0.3622, allocations: 11.94 kB / 0.6178 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.3626, allocations: 195.3 kB / 0.6179 GB, free: 8.191 MB / 462.1 MB 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.001657/0.3643, allocations: 1.485 MB / 0.6194 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.3648, allocations: 152.3 kB / 0.6195 GB, free: 6.434 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.3649, allocations: 71.19 kB / 0.6196 GB, free: 6.363 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.3651, allocations: 93.53 kB / 0.6197 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.3654, allocations: 132.3 kB / 0.6198 GB, free: 6.117 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.3654, allocations: 0 / 0.6198 GB, free: 6.117 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005985/0.366, allocations: 230.9 kB / 0.62 GB, free: 5.887 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.366, allocations: 51.41 kB / 0.6201 GB, free: 5.824 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.3664, allocations: 342.4 kB / 0.6204 GB, free: 5.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.3664, allocations: 30.36 kB / 0.6204 GB, free: 5.445 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.3666, allocations: 225.5 kB / 0.6207 GB, free: 5.223 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.3666, allocations: 51.27 kB / 0.6207 GB, free: 5.172 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.3667, allocations: 49.7 kB / 0.6208 GB, free: 5.117 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3668, allocations: 346.8 kB / 0.6211 GB, free: 4.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.367, allocations: 65.27 kB / 0.6211 GB, free: 4.707 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.3673, allocations: 149.5 kB / 0.6213 GB, free: 4.531 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.3677, allocations: 247.6 kB / 0.6215 GB, free: 4.254 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3677, allocations: 0 / 0.6215 GB, free: 4.254 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005691/0.3683, allocations: 312.6 kB / 0.6218 GB, free: 3.938 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.3683, allocations: 34.02 kB / 0.6219 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3683, allocations: 8 kB / 0.6219 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3683, allocations: 7.938 kB / 0.6219 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.3686, allocations: 59.89 kB / 0.6219 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3686, allocations: 4 kB / 0.6219 GB, free: 3.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.3689, allocations: 31.77 kB / 0.622 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.3689, allocations: 12 kB / 0.622 GB, free: 3.777 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001555/0.3691, allocations: 161.8 kB / 0.6221 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.3691, allocations: 31.62 kB / 0.6222 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.3696, allocations: 200.3 kB / 0.6223 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3696, allocations: 3.938 kB / 0.6224 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3696, allocations: 4 kB / 0.6224 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004468/0.3701, allocations: 487.6 kB / 0.6228 GB, free: 2.805 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.3705, allocations: 349.4 kB / 0.6232 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.3705, allocations: 0 / 0.6232 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.3707, allocations: 35.91 kB / 0.6232 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3707, allocations: 0 / 0.6232 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3707, allocations: 4 kB / 0.6232 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3707, allocations: 7.938 kB / 0.6232 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3707, allocations: 0 / 0.6232 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005937/0.3713, allocations: 287.7 kB / 0.6235 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.3714, allocations: 120.8 kB / 0.6236 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3715, allocations: 0 / 0.6236 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.3717, allocations: 27.77 kB / 0.6236 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.3718, allocations: 23.91 kB / 0.6236 GB, free: 1.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.3718, allocations: 8 kB / 0.6236 GB, free: 1.875 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002249/0.3721, allocations: 239.2 kB / 0.6239 GB, free: 1.641 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3721, allocations: 0 / 0.6239 GB, free: 1.641 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.3725, allocations: 116.1 kB / 0.624 GB, free: 1.527 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003261/0.3728, allocations: 188.2 kB / 0.6242 GB, free: 1.332 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004816/0.3733, allocations: 227.1 kB / 0.6244 GB, free: 1.098 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3733, allocations: 4.562 kB / 0.6244 GB, free: 1.094 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.3735, allocations: 75.95 kB / 0.6245 GB, free: 1.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.3744, allocations: 214.2 kB / 0.6247 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.3759, allocations: 0.8888 MB / 0.6255 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.3762, allocations: 0.7918 MB / 0.6263 GB, free: 15.08 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.079e-05/0.3763, allocations: 35.42 kB / 0.6263 GB, free: 15.05 MB / 478.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3764, allocations: 0 / 0.6263 GB, free: 15.05 MB / 478.1 MB Notification: Performance of Templates: time 0.008796/0.3852, allocations: 6.023 MB / 0.6322 GB, free: 9.109 MB / 478.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)