Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5484/0.5485, allocations: 94.78 MB / 102.3 MB, free: 10.14 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00132/0.001319, allocations: 174.8 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.716/1.716, allocations: 170.6 MB / 319.4 MB, free: 9.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001605/0.001605, allocations: 106.8 kB / 381.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.022e-05, allocations: 4 kB / 449.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1662, allocations: 61.52 MB / 0.4987 GB, free: 4.129 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.228/1.395, allocations: 402.1 MB / 0.8913 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/1.395, allocations: 88.55 kB / 0.8914 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5721/1.967, allocations: 62.9 MB / 0.9528 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.545e-06/1.967, allocations: 1.281 kB / 0.9528 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.233e-05/1.967, allocations: 9.188 kB / 0.9528 GB, free: 160.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001407/1.969, allocations: 0.6282 MB / 0.9535 GB, free: 160 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/1.969, allocations: 9.719 kB / 0.9535 GB, free: 160 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003309/1.969, allocations: 42.5 kB / 0.9535 GB, free: 160 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01906/1.988, allocations: 8.406 MB / 0.9617 GB, free: 155 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/1.988, allocations: 7.812 kB / 0.9617 GB, free: 155 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/1.988, allocations: 19.16 kB / 0.9617 GB, free: 155 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004145/1.989, allocations: 137.4 kB / 0.9619 GB, free: 155 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/1.989, allocations: 210.7 kB / 0.9621 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/1.989, allocations: 0 / 0.9621 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/1.989, allocations: 352 / 0.9621 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/1.989, allocations: 11.86 kB / 0.9621 GB, free: 154.8 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.002111/1.991, allocations: 1.189 MB / 0.9632 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/1.992, allocations: 140.9 kB / 0.9634 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.671e-05/1.992, allocations: 56.45 kB / 0.9634 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/1.992, allocations: 170.1 kB / 0.9636 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/1.992, allocations: 114.6 kB / 0.9637 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 2.285e-06/1.992, allocations: 0 / 0.9637 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.001412/1.994, allocations: 0.5387 MB / 0.9642 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/1.994, allocations: 55.41 kB / 0.9643 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/1.994, allocations: 259.9 kB / 0.9645 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/1.994, allocations: 25.7 kB / 0.9646 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/1.994, allocations: 208 kB / 0.9647 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/1.995, allocations: 60.3 kB / 0.9648 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/1.995, allocations: 0 / 0.9648 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/1.995, allocations: 345.4 kB / 0.9651 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/1.995, allocations: 52.75 kB / 0.9652 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/1.995, allocations: 115.2 kB / 0.9653 GB, free: 152 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/1.995, allocations: 79.05 kB / 0.9654 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.995, allocations: 4 kB / 0.9654 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000484/1.996, allocations: 246.9 kB / 0.9656 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/1.996, allocations: 30.61 kB / 0.9656 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.996, allocations: 3.75 kB / 0.9656 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/1.996, allocations: 3.844 kB / 0.9656 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/1.996, allocations: 65.83 kB / 0.9657 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.996, allocations: 5.422 kB / 0.9657 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/1.996, allocations: 19.3 kB / 0.9657 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/1.996, allocations: 19.09 kB / 0.9658 GB, free: 151.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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.0001004/1.996, allocations: 111.7 kB / 0.9659 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/1.997, allocations: 35.08 kB / 0.9659 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/1.997, allocations: 182.5 kB / 0.9661 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.997, allocations: 11.89 kB / 0.9661 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.997, allocations: 0 / 0.9661 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.997, allocations: 3.984 kB / 0.9661 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/1.997, allocations: 292.5 kB / 0.9664 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/1.997, allocations: 0 / 0.9664 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/1.998, allocations: 43.06 kB / 0.9664 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.998, allocations: 0 / 0.9664 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/1.998, allocations: 7.812 kB / 0.9664 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/1.998, allocations: 3.938 kB / 0.9664 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.998, allocations: 3.953 kB / 0.9664 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/1.998, allocations: 278.6 kB / 0.9667 GB, free: 151 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/1.998, allocations: 109.7 kB / 0.9668 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/1.998, allocations: 0 / 0.9668 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/1.999, allocations: 16.39 kB / 0.9668 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/1.999, allocations: 23.86 kB / 0.9668 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/1.999, allocations: 15.27 kB / 0.9668 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001955/1.999, allocations: 206.2 kB / 0.967 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.999, allocations: 0 / 0.967 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005255/1.999, allocations: 111.1 kB / 0.9671 GB, free: 150.7 MB / 0.5261 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.medium.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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.000451/2, allocations: 229.7 kB / 0.9674 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003414/2, allocations: 204.4 kB / 0.9676 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/2, allocations: 3.938 kB / 0.9676 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/2, allocations: 66.66 kB / 0.9676 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/2.001, allocations: 206.2 kB / 0.9678 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/2.002, allocations: 0.5352 MB / 0.9683 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/2.003, allocations: 0.7911 MB / 0.9691 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003516/2.003, allocations: 62.91 kB / 0.9692 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/2.003, allocations: 28.03 kB / 0.9692 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of SimCode: time 5.51e-07/2.003, allocations: 0 / 0.9692 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.01258/2.016, allocations: 6.457 MB / 0.9755 GB, free: 144.1 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)