Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.471/1.471, allocations: 287.4 MB / 302.5 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009223/0.0009224, allocations: 182.3 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006262/0.0006263, allocations: 94.34 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 12.11 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1459, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.00818/0.1541, allocations: 13.19 MB / 0.9916 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002802/0.1569, allocations: 3.374 MB / 0.9949 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.1572, allocations: 19.81 kB / 0.9949 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.1575, allocations: 147.1 kB / 0.9951 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008641/0.1584, allocations: 485.5 kB / 0.9955 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.1589, allocations: 283.3 kB / 0.9958 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008123/0.1598, allocations: 1.239 MB / 0.997 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.16, allocations: 263.6 kB / 0.9973 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.1603, allocations: 310.7 kB / 0.9976 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.1605, allocations: 282.7 kB / 0.9978 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.1606, allocations: 16 kB / 0.9978 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.1609, allocations: 147.7 kB / 0.998 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.1609, allocations: 71.67 kB / 0.9981 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.602e-05/0.161, allocations: 101.5 kB / 0.9982 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.1613, allocations: 426.9 kB / 0.9986 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1613, allocations: 4 kB / 0.9986 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1613, allocations: 0 / 0.9986 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1614, allocations: 0 / 0.9986 GB, free: 7.734 MB / 0.6198 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.0007391/0.1621, allocations: 0.664 MB / 0.9992 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1621, allocations: 15.97 kB / 0.9992 GB, free: 7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.08e-05/0.1622, allocations: 62.72 kB / 0.9993 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1623, allocations: 44.47 kB / 0.9993 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.1628, allocations: 467.2 kB / 0.9998 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1629, allocations: 24.44 kB / 0.9998 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.1629, allocations: 28 kB / 0.9998 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004256/0.1633, allocations: 314.2 kB / 1 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1634, allocations: 4 kB / 1 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.1634, allocations: 8 kB / 1 GB, free: 6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.1634, allocations: 8 kB / 1 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.1638, allocations: 206.1 kB / 1 GB, free: 5.789 MB / 0.6198 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.001184/0.165, allocations: 1.489 MB / 1.002 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.1653, allocations: 166.6 kB / 1.002 GB, free: 4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1655, allocations: 73.83 kB / 1.002 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.1656, allocations: 89.09 kB / 1.002 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.1659, allocations: 139.3 kB / 1.002 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.1659, allocations: 0 / 1.002 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004867/0.1664, allocations: 246.8 kB / 1.002 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.1664, allocations: 67.28 kB / 1.003 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.1666, allocations: 329.6 kB / 1.003 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1667, allocations: 29.7 kB / 1.003 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.1667, allocations: 215.8 kB / 1.003 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.1668, allocations: 51.3 kB / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.1668, allocations: 8 kB / 1.003 GB, free: 2.711 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.1668, allocations: 338.8 kB / 1.003 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.167, allocations: 79.95 kB / 1.004 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.1672, allocations: 149.9 kB / 1.004 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.1675, allocations: 257 kB / 1.004 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1675, allocations: 4 kB / 1.004 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004449/0.168, allocations: 314.9 kB / 1.004 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.168, allocations: 41.73 kB / 1.004 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.168, allocations: 0 / 1.004 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.168, allocations: 7.938 kB / 1.004 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.1682, allocations: 67.83 kB / 1.004 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1682, allocations: 4 kB / 1.004 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.1685, allocations: 43.67 kB / 1.004 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.1685, allocations: 16 kB / 1.004 GB, free: 1.316 MB / 0.6198 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.1686, allocations: 159.1 kB / 1.005 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.1686, allocations: 31.62 kB / 1.005 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.169, allocations: 208.4 kB / 1.005 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.169, allocations: 4 kB / 1.005 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.169, allocations: 0 / 1.005 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003178/0.1694, allocations: 497.9 kB / 1.005 GB, free: 344 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.1697, allocations: 349.4 kB / 1.006 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1697, allocations: 4 kB / 1.006 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.1699, allocations: 39.97 kB / 1.006 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1699, allocations: 0 / 1.006 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1699, allocations: 3.938 kB / 1.006 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1699, allocations: 4 kB / 1.006 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1699, allocations: 0 / 1.006 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.1705, allocations: 300.5 kB / 1.006 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1706, allocations: 124.8 kB / 1.006 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.1706, allocations: 7.938 kB / 1.006 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.1709, allocations: 31.91 kB / 1.006 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.1709, allocations: 15.97 kB / 1.006 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.171, allocations: 8 kB / 1.006 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002083/0.1712, allocations: 231.2 kB / 1.006 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1712, allocations: 4 kB / 1.006 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003266/0.1715, allocations: 115.9 kB / 1.006 GB, free: 15.03 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009073/0.1724, allocations: 0.9015 MB / 1.007 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004262/0.1729, allocations: 244.6 kB / 1.008 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1729, allocations: 0 / 1.008 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.173, allocations: 79.84 kB / 1.008 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008453/0.1739, allocations: 196.5 kB / 1.008 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.1767, allocations: 2.094 MB / 1.01 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.177, allocations: 0.7957 MB / 1.011 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002316/0.1773, allocations: 63.19 kB / 1.011 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.1774, allocations: 115.4 kB / 1.011 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.1774, allocations: 0 / 1.011 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3678/0.5452, allocations: 9.599 MB / 1.02 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.5454, allocations: 181.4 kB / 1.02 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.594, allocations: 0 / 1.02 GB, free: 0.7852 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)