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.001148/0.001148, allocations: 110 kB / 16.41 MB, free: 6.484 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.001053/0.001053, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7367/0.7367, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 70.48 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.197, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.02094/0.218, allocations: 14.4 MB / 0.6461 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006435/0.2245, allocations: 3.644 MB / 0.6497 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000802/0.2253, allocations: 19.88 kB / 0.6497 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008057/0.2261, allocations: 206.7 kB / 0.6499 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.2282, allocations: 0.6142 MB / 0.6505 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.2294, allocations: 401 kB / 0.6509 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.2309, allocations: 1.087 MB / 0.6519 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.2314, allocations: 328.4 kB / 0.6523 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.2324, allocations: 393.1 kB / 0.6526 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.2328, allocations: 306.6 kB / 0.6529 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.247e-05/0.2329, allocations: 32 kB / 0.653 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006649/0.2335, allocations: 263.5 kB / 0.6532 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2337, allocations: 95.72 kB / 0.6533 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.2339, allocations: 215 kB / 0.6535 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000915/0.2348, allocations: 0.588 MB / 0.6541 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2349, allocations: 7.938 kB / 0.6541 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2349, allocations: 0 / 0.6541 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.2349, allocations: 0 / 0.6541 GB, free: 13.77 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.001282/0.2362, allocations: 0.7418 MB / 0.6548 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2362, allocations: 12.03 kB / 0.6548 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.2364, allocations: 44.47 kB / 0.6549 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007762/0.2372, allocations: 475.6 kB / 0.6553 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.2372, allocations: 16.94 kB / 0.6553 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.2373, allocations: 35.84 kB / 0.6554 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.2379, allocations: 306.2 kB / 0.6557 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.238, allocations: 4 kB / 0.6557 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.238, allocations: 12 kB / 0.6557 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.238, allocations: 4 kB / 0.6557 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.2385, allocations: 194 kB / 0.6559 GB, free: 11.84 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.001964/0.2405, allocations: 1.481 MB / 0.6573 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.241, allocations: 154.6 kB / 0.6575 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.2412, allocations: 65.08 kB / 0.6575 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.2414, allocations: 97.08 kB / 0.6576 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.2417, allocations: 135.2 kB / 0.6577 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.963e-06/0.2417, allocations: 0 / 0.6577 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0007292/0.2424, allocations: 227.9 kB / 0.658 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.2425, allocations: 55.34 kB / 0.658 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/0.2429, allocations: 357.5 kB / 0.6584 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.243, allocations: 37.64 kB / 0.6584 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.2432, allocations: 215.8 kB / 0.6586 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.2432, allocations: 59.12 kB / 0.6587 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/0.2433, allocations: 49.7 kB / 0.6587 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2435, allocations: 342.8 kB / 0.659 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.2437, allocations: 71.95 kB / 0.6591 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.244, allocations: 153.9 kB / 0.6592 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.2445, allocations: 236.9 kB / 0.6595 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2445, allocations: 0 / 0.6595 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006194/0.2451, allocations: 319.3 kB / 0.6598 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.2452, allocations: 35.27 kB / 0.6598 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2452, allocations: 0 / 0.6598 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.2452, allocations: 4 kB / 0.6598 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.2455, allocations: 68.16 kB / 0.6599 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.2455, allocations: 11.97 kB / 0.6599 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.2458, allocations: 27.75 kB / 0.6599 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.2458, allocations: 11.98 kB / 0.6599 GB, free: 7.367 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.0001812/0.246, allocations: 161.7 kB / 0.6601 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.2461, allocations: 31.62 kB / 0.6601 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.2465, allocations: 196.5 kB / 0.6603 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2466, allocations: 3.938 kB / 0.6603 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2466, allocations: 4 kB / 0.6603 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005643/0.2471, allocations: 483.7 kB / 0.6608 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.2476, allocations: 353.3 kB / 0.6611 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2476, allocations: 0 / 0.6611 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.2478, allocations: 39.91 kB / 0.6611 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2478, allocations: 0 / 0.6611 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.2478, allocations: 4 kB / 0.6611 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.2478, allocations: 7.938 kB / 0.6611 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2479, allocations: 0 / 0.6611 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.2485, allocations: 282.9 kB / 0.6614 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.2487, allocations: 124.7 kB / 0.6615 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.2487, allocations: 4 kB / 0.6615 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.249, allocations: 23.86 kB / 0.6616 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.2491, allocations: 23.91 kB / 0.6616 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.2491, allocations: 4 kB / 0.6616 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002451/0.2493, allocations: 247.2 kB / 0.6618 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2493, allocations: 0 / 0.6618 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004654/0.2498, allocations: 127.8 kB / 0.6619 GB, free: 5.105 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.0003784/0.2502, allocations: 187.1 kB / 0.6621 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005242/0.2507, allocations: 237.6 kB / 0.6624 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2507, allocations: 0 / 0.6624 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.2509, allocations: 63.91 kB / 0.6624 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.252, allocations: 214 kB / 0.6626 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.2534, allocations: 0.7347 MB / 0.6633 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.2538, allocations: 0.7879 MB / 0.6641 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002419/0.2541, allocations: 67.19 kB / 0.6642 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.2542, allocations: 35.44 kB / 0.6642 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.2542, allocations: 0 / 0.6642 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of Templates: time 0.01292/0.2671, allocations: 7.18 MB / 0.6712 GB, free: 11.65 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)