Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001273/0.001273, allocations: 116.1 kB / 17.08 MB, free: 5.969 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.001314/0.001314, allocations: 196.7 kB / 18.02 MB, free: 5.047 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.292/1.292, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7109/0.7109, allocations: 115.3 MB / 407.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.08 kB / 0.5583 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.144, allocations: 76.19 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01591/0.1599, allocations: 14.41 MB / 0.6468 GB, free: 5.926 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005034/0.165, allocations: 3.636 MB / 0.6503 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006004/0.1656, allocations: 19.88 kB / 0.6504 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006873/0.1663, allocations: 202.7 kB / 0.6505 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.168, allocations: 0.5908 MB / 0.6511 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009269/0.1689, allocations: 394 kB / 0.6515 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.1703, allocations: 1.083 MB / 0.6526 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005185/0.1708, allocations: 332.3 kB / 0.6529 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.1719, allocations: 397.1 kB / 0.6533 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/0.1724, allocations: 306.6 kB / 0.6535 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.269e-05/0.1724, allocations: 36 kB / 0.6536 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005576/0.173, allocations: 263.5 kB / 0.6538 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1731, allocations: 91.69 kB / 0.6539 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.1734, allocations: 211 kB / 0.6541 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008054/0.1742, allocations: 0.5842 MB / 0.6547 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1742, allocations: 4 kB / 0.6547 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1742, allocations: 0 / 0.6547 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.1742, allocations: 0 / 0.6547 GB, free: 13.79 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.001227/0.1754, allocations: 0.7496 MB / 0.6554 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1755, allocations: 11.97 kB / 0.6554 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.1757, allocations: 44.47 kB / 0.6555 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007236/0.1764, allocations: 471.6 kB / 0.6559 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.1765, allocations: 16.94 kB / 0.6559 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.1765, allocations: 39.78 kB / 0.656 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.1771, allocations: 310.2 kB / 0.6563 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1771, allocations: 3.938 kB / 0.6563 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.1772, allocations: 12 kB / 0.6563 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.1772, allocations: 4 kB / 0.6563 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.1776, allocations: 194.1 kB / 0.6565 GB, free: 11.85 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.001747/0.1794, allocations: 1.477 MB / 0.6579 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.1798, allocations: 164 kB / 0.6581 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.18, allocations: 65.06 kB / 0.6581 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.1801, allocations: 93.09 kB / 0.6582 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.1804, allocations: 135.2 kB / 0.6584 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/0.1804, allocations: 0 / 0.6584 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006009/0.181, allocations: 227.9 kB / 0.6586 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1811, allocations: 63.28 kB / 0.6586 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.1814, allocations: 353.5 kB / 0.659 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1815, allocations: 37.64 kB / 0.659 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1816, allocations: 215.8 kB / 0.6592 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.1817, allocations: 51.2 kB / 0.6593 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.311e-05/0.1818, allocations: 49.7 kB / 0.6593 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1819, allocations: 346.8 kB / 0.6596 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.1821, allocations: 67.95 kB / 0.6597 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.1823, allocations: 149.9 kB / 0.6599 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.1827, allocations: 244.8 kB / 0.6601 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1828, allocations: 0 / 0.6601 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005667/0.1833, allocations: 313.2 kB / 0.6604 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.1834, allocations: 30.95 kB / 0.6604 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1834, allocations: 4.312 kB / 0.6604 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1834, allocations: 8 kB / 0.6604 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.1836, allocations: 63.84 kB / 0.6605 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.1837, allocations: 11.92 kB / 0.6605 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.1839, allocations: 35.73 kB / 0.6605 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.1839, allocations: 8 kB / 0.6605 GB, free: 7.383 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.0001523/0.1841, allocations: 157.7 kB / 0.6607 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.1842, allocations: 31.62 kB / 0.6607 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.1846, allocations: 196.5 kB / 0.6609 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1846, allocations: 3.938 kB / 0.6609 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1846, allocations: 0 / 0.6609 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004551/0.1851, allocations: 495.6 kB / 0.6614 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.1855, allocations: 357.3 kB / 0.6617 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1855, allocations: 0 / 0.6617 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.1857, allocations: 35.97 kB / 0.6618 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1857, allocations: 0 / 0.6618 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1857, allocations: 0 / 0.6618 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1857, allocations: 7.938 kB / 0.6618 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1857, allocations: 0 / 0.6618 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.1863, allocations: 282.7 kB / 0.662 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1864, allocations: 128.7 kB / 0.6622 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.593e-05/0.1865, allocations: 4 kB / 0.6622 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.1867, allocations: 19.86 kB / 0.6622 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.1868, allocations: 19.97 kB / 0.6622 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.1868, allocations: 8 kB / 0.6622 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002367/0.1871, allocations: 247.2 kB / 0.6624 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1871, allocations: 0 / 0.6624 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004119/0.1875, allocations: 123.8 kB / 0.6626 GB, free: 5.125 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.0003268/0.1878, allocations: 191.1 kB / 0.6627 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.1883, allocations: 227.2 kB / 0.663 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1883, allocations: 4 kB / 0.663 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.1885, allocations: 64.53 kB / 0.663 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/0.1894, allocations: 224.3 kB / 0.6632 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.1908, allocations: 0.7637 MB / 0.664 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1911, allocations: 0.7879 MB / 0.6648 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.1912, allocations: 35.42 kB / 0.6648 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1912, allocations: 3.938 kB / 0.6648 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of Templates: time 0.009529/0.2008, allocations: 6.218 MB / 0.6709 GB, free: 12.61 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)