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.001161/0.001161, allocations: 102.1 kB / 15.98 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.00124/0.00124, allocations: 189.2 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7892/0.7892, allocations: 122.9 MB / 413.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.4906 GB, free: 7.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4202, allocations: 77.93 MB / 0.5667 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01506/0.4353, allocations: 14.34 MB / 0.5807 GB, free: 22.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005554/0.4409, allocations: 3.607 MB / 0.5842 GB, free: 20.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006924/0.4416, allocations: 18.53 kB / 0.5843 GB, free: 20.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007356/0.4424, allocations: 178.6 kB / 0.5844 GB, free: 19.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.444, allocations: 0.5507 MB / 0.585 GB, free: 19.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009795/0.445, allocations: 353.7 kB / 0.5853 GB, free: 19.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.4463, allocations: 1.107 MB / 0.5864 GB, free: 18.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004651/0.4468, allocations: 314.2 kB / 0.5867 GB, free: 18.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009695/0.4477, allocations: 381.4 kB / 0.5871 GB, free: 18.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.4481, allocations: 318.2 kB / 0.5874 GB, free: 18.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.474e-05/0.4482, allocations: 31.56 kB / 0.5874 GB, free: 18.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.4488, allocations: 271.1 kB / 0.5876 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.4489, allocations: 92.14 kB / 0.5877 GB, free: 17.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.4491, allocations: 213.7 kB / 0.5879 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007465/0.4499, allocations: 0.5832 MB / 0.5885 GB, free: 17.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4499, allocations: 0 / 0.5885 GB, free: 17.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4499, allocations: 0 / 0.5885 GB, free: 17.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4499, allocations: 6.203 kB / 0.5885 GB, free: 17.32 MB / 446.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.001279/0.4512, allocations: 0.747 MB / 0.5892 GB, free: 16.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.4513, allocations: 9.812 kB / 0.5893 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.4516, allocations: 53.23 kB / 0.5893 GB, free: 16.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007747/0.4524, allocations: 474.7 kB / 0.5898 GB, free: 16.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.4524, allocations: 24.88 kB / 0.5898 GB, free: 16.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.4525, allocations: 30.53 kB / 0.5898 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.4531, allocations: 307.1 kB / 0.5901 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4532, allocations: 4.469 kB / 0.5901 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.4532, allocations: 10.91 kB / 0.5901 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.4533, allocations: 8.844 kB / 0.5901 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.4537, allocations: 194.3 kB / 0.5903 GB, free: 15.88 MB / 446.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.001671/0.4554, allocations: 1.482 MB / 0.5918 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.4559, allocations: 158.4 kB / 0.5919 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.456, allocations: 72 kB / 0.592 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.4562, allocations: 83.33 kB / 0.5921 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002989/0.4565, allocations: 135.1 kB / 0.5922 GB, free: 14.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.4565, allocations: 0 / 0.5922 GB, free: 14.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006608/0.4572, allocations: 234.9 kB / 0.5924 GB, free: 14.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.4572, allocations: 53.91 kB / 0.5925 GB, free: 14.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.4576, allocations: 340.7 kB / 0.5928 GB, free: 13.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.4576, allocations: 32.08 kB / 0.5928 GB, free: 13.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.4578, allocations: 220.6 kB / 0.593 GB, free: 13.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.4578, allocations: 46.39 kB / 0.5931 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.401e-05/0.4579, allocations: 57.3 kB / 0.5931 GB, free: 13.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.287e-05/0.458, allocations: 342.5 kB / 0.5935 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.4582, allocations: 69.73 kB / 0.5935 GB, free: 13.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.4585, allocations: 151.1 kB / 0.5937 GB, free: 12.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.4589, allocations: 250 kB / 0.5939 GB, free: 12.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4589, allocations: 1.344 kB / 0.5939 GB, free: 12.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005949/0.4595, allocations: 311.6 kB / 0.5942 GB, free: 12.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.4596, allocations: 34.27 kB / 0.5942 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4596, allocations: 5.281 kB / 0.5942 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.4596, allocations: 8.875 kB / 0.5942 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.4599, allocations: 53.47 kB / 0.5943 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.4599, allocations: 11.38 kB / 0.5943 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.4602, allocations: 35.23 kB / 0.5943 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.4602, allocations: 16.62 kB / 0.5944 GB, free: 12.5 MB / 446.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.0001487/0.4604, allocations: 162.4 kB / 0.5945 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.4604, allocations: 36.28 kB / 0.5945 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005282/0.461, allocations: 199 kB / 0.5947 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.461, allocations: 5.312 kB / 0.5947 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.461, allocations: 5.156 kB / 0.5947 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004265/0.4614, allocations: 486.5 kB / 0.5952 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/0.4618, allocations: 346.2 kB / 0.5955 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4618, allocations: 3.938 kB / 0.5955 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.462, allocations: 35.59 kB / 0.5956 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.462, allocations: 1.156 kB / 0.5956 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.4621, allocations: 5.219 kB / 0.5956 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4621, allocations: 4.938 kB / 0.5956 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4621, allocations: 0 / 0.5956 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.4627, allocations: 284 kB / 0.5959 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4628, allocations: 122.2 kB / 0.596 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.4629, allocations: 5.125 kB / 0.596 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.4631, allocations: 26.23 kB / 0.596 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.4632, allocations: 14.5 kB / 0.596 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.4632, allocations: 9.094 kB / 0.596 GB, free: 11.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.4635, allocations: 241.7 kB / 0.5963 GB, free: 10.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4635, allocations: 0 / 0.5963 GB, free: 10.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004711/0.464, allocations: 111.8 kB / 0.5964 GB, free: 10.86 MB / 446.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.0003531/0.4643, allocations: 187 kB / 0.5965 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005221/0.4648, allocations: 234.3 kB / 0.5968 GB, free: 10.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.4649, allocations: 0 / 0.5968 GB, free: 10.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.4651, allocations: 73.55 kB / 0.5968 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009823/0.466, allocations: 224 kB / 0.5971 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.4675, allocations: 0.8468 MB / 0.5979 GB, free: 9.801 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.4678, allocations: 0.7992 MB / 0.5987 GB, free: 9.047 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002755/0.4681, allocations: 66.3 kB / 0.5987 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.4682, allocations: 38.08 kB / 0.5988 GB, free: 9.004 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4682, allocations: 0 / 0.5988 GB, free: 9.004 MB / 446.1 MB Notification: Performance of Templates: time 0.01059/0.4788, allocations: 6.801 MB / 0.6054 GB, free: 2.781 MB / 446.1 MB 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)