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.6037/0.6037, allocations: 95.62 MB / 110.6 MB, free: 9.191 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.001121/0.001121, allocations: 167.4 kB / 134.2 MB, free: 2.164 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.611/1.611, allocations: 170.7 MB / 328.4 MB, free: 12.29 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.001916/0.001915, allocations: 103.4 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004109, allocations: 12 kB / 462.7 MB, free: 35.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1661, allocations: 61.53 MB / 0.512 GB, free: 6.117 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.34, allocations: 402.8 MB / 0.9054 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.341, allocations: 87.08 kB / 0.9054 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5305/1.871, allocations: 63.46 MB / 0.9674 GB, free: 137 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.284e-06/1.871, allocations: 0 / 0.9674 GB, free: 137 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.061e-05/1.871, allocations: 10.47 kB / 0.9674 GB, free: 137 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.001452/1.873, allocations: 0.674 MB / 0.9681 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.012e-05/1.873, allocations: 13.95 kB / 0.9681 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/1.873, allocations: 47.17 kB / 0.9681 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01974/1.893, allocations: 8.513 MB / 0.9765 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/1.893, allocations: 16.25 kB / 0.9765 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/1.893, allocations: 27.53 kB / 0.9765 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/1.894, allocations: 280.2 kB / 0.9768 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/1.894, allocations: 0 / 0.9768 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/1.894, allocations: 4 kB / 0.9768 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/1.894, allocations: 7.719 kB / 0.9768 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/1.894, allocations: 192 kB / 0.977 GB, free: 135.2 MB / 0.5261 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.001786/1.896, allocations: 1.243 MB / 0.9782 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/1.897, allocations: 194.1 kB / 0.9784 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/1.897, allocations: 176.3 kB / 0.9785 GB, free: 134 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003666/1.897, allocations: 141.4 kB / 0.9787 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 2.936e-06/1.897, allocations: 0 / 0.9787 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.001774/1.899, allocations: 0.7332 MB / 0.9794 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/1.899, allocations: 55.31 kB / 0.9794 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/1.9, allocations: 310.6 kB / 0.9797 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/1.9, allocations: 33.61 kB / 0.9798 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/1.9, allocations: 190.8 kB / 0.9799 GB, free: 133 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/1.9, allocations: 78 kB / 0.98 GB, free: 133 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/1.9, allocations: 11.88 kB / 0.98 GB, free: 133 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.9, allocations: 341.9 kB / 0.9804 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/1.9, allocations: 82.27 kB / 0.9804 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/1.9, allocations: 139.8 kB / 0.9806 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/1.901, allocations: 127.2 kB / 0.9807 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.901, allocations: 3.969 kB / 0.9807 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006015/1.901, allocations: 323.3 kB / 0.981 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/1.901, allocations: 38.28 kB / 0.981 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.901, allocations: 3.953 kB / 0.981 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.901, allocations: 3.938 kB / 0.981 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/1.902, allocations: 65.17 kB / 0.9811 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.902, allocations: 3.906 kB / 0.9811 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/1.902, allocations: 19.47 kB / 0.9811 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/1.902, allocations: 11.84 kB / 0.9811 GB, free: 132.2 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 () * Number of clocked 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.0001639/1.902, allocations: 164.5 kB / 0.9813 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/1.902, allocations: 35.16 kB / 0.9813 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005183/1.903, allocations: 248.3 kB / 0.9816 GB, free: 132 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.903, allocations: 3.906 kB / 0.9816 GB, free: 132 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.903, allocations: 0 / 0.9816 GB, free: 132 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.903, allocations: 3.953 kB / 0.9816 GB, free: 132 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/1.903, allocations: 341.6 kB / 0.9819 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.903, allocations: 0 / 0.9819 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/1.903, allocations: 41.41 kB / 0.9819 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.903, allocations: 3.906 kB / 0.9819 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/1.903, allocations: 4 kB / 0.982 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.903, allocations: 4 kB / 0.982 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.903, allocations: 11.73 kB / 0.982 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/1.904, allocations: 352 kB / 0.9823 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/1.904, allocations: 119.6 kB / 0.9824 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/1.904, allocations: 0 / 0.9824 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/1.904, allocations: 23.12 kB / 0.9824 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/1.905, allocations: 22.97 kB / 0.9825 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/1.905, allocations: 3.906 kB / 0.9825 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002301/1.905, allocations: 258.9 kB / 0.9827 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.905, allocations: 0 / 0.9827 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004943/1.905, allocations: 121.1 kB / 0.9828 GB, free: 131.2 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) * Number of clocked states: 0 () * 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.0004004/1.906, allocations: 235.1 kB / 0.9831 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005299/1.906, allocations: 266.1 kB / 0.9833 GB, free: 131 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.906, allocations: 0 / 0.9833 GB, free: 131 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/1.906, allocations: 91.89 kB / 0.9834 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/1.907, allocations: 229.2 kB / 0.9836 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/1.909, allocations: 0.9429 MB / 0.9845 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/1.909, allocations: 0.7961 MB / 0.9853 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002984/1.91, allocations: 69.86 kB / 0.9854 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/1.91, allocations: 34.88 kB / 0.9854 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of SimCode: time 7.72e-07/1.91, allocations: 0 / 0.9854 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.01275/1.922, allocations: 7.85 MB / 0.9931 GB, free: 126.2 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)