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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",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.001924/0.001924, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.406 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 1.021/1.021, allocations: 143 MB / 433.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 0.5143 GB, free: 11.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1618, allocations: 82.04 MB / 0.5944 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.2813/0.4432, allocations: 14.4 MB / 0.6085 GB, free: 36.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004665/0.4479, allocations: 3.646 MB / 0.612 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005983/0.4485, allocations: 20.44 kB / 0.612 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006013/0.4491, allocations: 206.5 kB / 0.6122 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.4504, allocations: 0.5743 MB / 0.6128 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.4511, allocations: 393.5 kB / 0.6132 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009638/0.4521, allocations: 1.089 MB / 0.6142 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.4525, allocations: 309.3 kB / 0.6145 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008328/0.4534, allocations: 389.2 kB / 0.6149 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.4537, allocations: 316.4 kB / 0.6152 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.4538, allocations: 31.22 kB / 0.6152 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005104/0.4543, allocations: 260.4 kB / 0.6155 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-05/0.4544, allocations: 98.52 kB / 0.6156 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.4546, allocations: 207.1 kB / 0.6158 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000655/0.4553, allocations: 0.6027 MB / 0.6164 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.4553, allocations: 0 / 0.6164 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4553, allocations: 0 / 0.6164 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.4553, allocations: 0 / 0.6164 GB, free: 34.44 MB / 0.4981 GB 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.001055/0.4564, allocations: 0.7533 MB / 0.6171 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.4564, allocations: 8.625 kB / 0.6171 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.4565, allocations: 64.12 kB / 0.6172 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.4567, allocations: 52.17 kB / 0.6172 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.4573, allocations: 452.3 kB / 0.6176 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.4573, allocations: 20.31 kB / 0.6177 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.4574, allocations: 33.86 kB / 0.6177 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/0.4579, allocations: 309.4 kB / 0.618 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.4579, allocations: 0 / 0.618 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.4579, allocations: 10.78 kB / 0.618 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.4579, allocations: 5.719 kB / 0.618 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.4584, allocations: 204 kB / 0.6182 GB, free: 33.17 MB / 0.4981 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.001485/0.4599, allocations: 1.489 MB / 0.6197 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.4603, allocations: 151 kB / 0.6198 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.4605, allocations: 68.02 kB / 0.6199 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.4606, allocations: 95 kB / 0.62 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.4609, allocations: 137.6 kB / 0.6201 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.4609, allocations: 0 / 0.6201 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005625/0.4614, allocations: 228.8 kB / 0.6203 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.4615, allocations: 58.19 kB / 0.6204 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.4618, allocations: 350.6 kB / 0.6207 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.4618, allocations: 28.67 kB / 0.6207 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.4619, allocations: 216.6 kB / 0.6209 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.4619, allocations: 51.47 kB / 0.621 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/0.462, allocations: 50.94 kB / 0.621 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.666e-05/0.4621, allocations: 340.5 kB / 0.6214 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.4622, allocations: 75.67 kB / 0.6214 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.4624, allocations: 150.8 kB / 0.6216 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.4628, allocations: 245.6 kB / 0.6218 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4628, allocations: 0 / 0.6218 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005028/0.4633, allocations: 314.6 kB / 0.6221 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.4633, allocations: 39.7 kB / 0.6221 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4634, allocations: 2.906 kB / 0.6221 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4634, allocations: 2.812 kB / 0.6221 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.4636, allocations: 59.75 kB / 0.6222 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.4636, allocations: 5.344 kB / 0.6222 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.4638, allocations: 29.09 kB / 0.6222 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.4639, allocations: 17.97 kB / 0.6223 GB, free: 30.21 MB / 0.4981 GB 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.0001166/0.464, allocations: 159.2 kB / 0.6224 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.464, allocations: 32.94 kB / 0.6224 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004206/0.4645, allocations: 197.2 kB / 0.6226 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4645, allocations: 4.875 kB / 0.6226 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4645, allocations: 0 / 0.6226 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003664/0.4649, allocations: 484 kB / 0.6231 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.4652, allocations: 361.8 kB / 0.6234 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4652, allocations: 4 kB / 0.6234 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.4654, allocations: 29.28 kB / 0.6235 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4654, allocations: 2.562 kB / 0.6235 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.4654, allocations: 7.844 kB / 0.6235 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4654, allocations: 6.719 kB / 0.6235 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4654, allocations: 0 / 0.6235 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.4659, allocations: 283.7 kB / 0.6238 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-05/0.466, allocations: 118.7 kB / 0.6239 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.4661, allocations: 5.734 kB / 0.6239 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.4663, allocations: 19.55 kB / 0.6239 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.4664, allocations: 18.41 kB / 0.6239 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.4664, allocations: 8.672 kB / 0.6239 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001869/0.4666, allocations: 243.8 kB / 0.6241 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4666, allocations: 0 / 0.6241 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003894/0.467, allocations: 134.7 kB / 0.6243 GB, free: 28.78 MB / 0.4981 GB 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.000926/0.4679, allocations: 0.9102 MB / 0.6252 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.4684, allocations: 241.6 kB / 0.6254 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4685, allocations: 0 / 0.6254 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.4686, allocations: 70.31 kB / 0.6255 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009449/0.4696, allocations: 223.3 kB / 0.6257 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.4731, allocations: 3.065 MB / 0.6287 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.4733, allocations: 0.7881 MB / 0.6294 GB, free: 25.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002724/0.4735, allocations: 74.11 kB / 0.6295 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.4737, allocations: 115.5 kB / 0.6296 GB, free: 25.03 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.4737, allocations: 0 / 0.6296 GB, free: 25.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05982/0.5335, allocations: 10.22 MB / 0.6396 GB, free: 24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.469, allocations: 7.016 kB / 0.6396 GB, free: 24 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)