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.5508/0.5508, allocations: 94.69 MB / 107.2 MB, free: 5.184 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.001793/0.001793, allocations: 176.4 kB / 130.7 MB, free: 7.555 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.624/1.624, allocations: 170.5 MB / 324.5 MB, free: 4.082 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.00177/0.00177, allocations: 111.2 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.739e-05, allocations: 7.984 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.458, allocations: 61.51 MB / 0.5054 GB, free: 49.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.176/1.634, allocations: 402.8 MB / 0.8987 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/1.635, allocations: 76.17 kB / 0.8988 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1343/1.769, allocations: 63.26 MB / 0.9605 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.186e-06/1.769, allocations: 0 / 0.9605 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.775e-05/1.769, allocations: 10.78 kB / 0.9606 GB, free: 132.4 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.001243/1.77, allocations: 0.6136 MB / 0.9612 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.77e-05/1.77, allocations: 10.19 kB / 0.9612 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/1.771, allocations: 54.67 kB / 0.9612 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01718/1.788, allocations: 8.449 MB / 0.9695 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/1.788, allocations: 19.62 kB / 0.9695 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/1.788, allocations: 27.47 kB / 0.9695 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/1.789, allocations: 254.4 kB / 0.9698 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/1.789, allocations: 0 / 0.9698 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/1.789, allocations: 11.88 kB / 0.9698 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.789, allocations: 3.875 kB / 0.9698 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/1.789, allocations: 150.7 kB / 0.9699 GB, free: 126.4 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.001701/1.791, allocations: 1.237 MB / 0.9711 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/1.791, allocations: 150.6 kB / 0.9713 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.815e-05/1.791, allocations: 55.81 kB / 0.9713 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/1.791, allocations: 181.9 kB / 0.9715 GB, free: 125 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/1.792, allocations: 110 kB / 0.9716 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 2.766e-06/1.792, allocations: 0 / 0.9716 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.001123/1.793, allocations: 0.5871 MB / 0.9722 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/1.793, allocations: 55.41 kB / 0.9722 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/1.793, allocations: 311.6 kB / 0.9725 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/1.793, allocations: 33.67 kB / 0.9726 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/1.793, allocations: 190.6 kB / 0.9727 GB, free: 124 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/1.793, allocations: 66.64 kB / 0.9728 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/1.793, allocations: 4 kB / 0.9728 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.883e-05/1.793, allocations: 349.7 kB / 0.9731 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/1.794, allocations: 57.34 kB / 0.9732 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/1.794, allocations: 124 kB / 0.9733 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/1.794, allocations: 107.7 kB / 0.9734 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/1.794, allocations: 3.938 kB / 0.9734 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003861/1.794, allocations: 287.8 kB / 0.9737 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/1.794, allocations: 33.52 kB / 0.9737 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.794, allocations: 3.781 kB / 0.9737 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.794, allocations: 3.812 kB / 0.9737 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/1.795, allocations: 61.98 kB / 0.9738 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.795, allocations: 7.938 kB / 0.9738 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/1.795, allocations: 23.08 kB / 0.9738 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/1.795, allocations: 11.25 kB / 0.9738 GB, free: 123.1 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 8.393e-05/1.795, allocations: 120.4 kB / 0.9739 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/1.795, allocations: 40.42 kB / 0.974 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/1.795, allocations: 220.6 kB / 0.9742 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/1.795, allocations: 0 / 0.9742 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.795, allocations: 2.531 kB / 0.9742 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.795, allocations: 0 / 0.9742 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/1.796, allocations: 337.7 kB / 0.9745 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.796, allocations: 0 / 0.9745 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/1.796, allocations: 51.66 kB / 0.9746 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.796, allocations: 4 kB / 0.9746 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/1.796, allocations: 3.953 kB / 0.9746 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/1.796, allocations: 11.8 kB / 0.9746 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.796, allocations: 0 / 0.9746 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/1.797, allocations: 286.7 kB / 0.9749 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/1.797, allocations: 112.6 kB / 0.975 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/1.797, allocations: 3.875 kB / 0.975 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/1.797, allocations: 23.64 kB / 0.975 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/1.797, allocations: 27.55 kB / 0.975 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/1.797, allocations: 7.922 kB / 0.975 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002263/1.797, allocations: 247.9 kB / 0.9753 GB, free: 122 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.11e-07/1.797, allocations: 0 / 0.9753 GB, free: 122 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004658/1.798, allocations: 120.6 kB / 0.9754 GB, free: 122 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.0003893/1.798, allocations: 231.3 kB / 0.9756 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003233/1.798, allocations: 221.1 kB / 0.9758 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.798, allocations: 3.938 kB / 0.9758 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/1.799, allocations: 75.61 kB / 0.9759 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.8, allocations: 237.5 kB / 0.9761 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000949/1.801, allocations: 0.5342 MB / 0.9766 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/1.801, allocations: 0.7951 MB / 0.9774 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002619/1.801, allocations: 71.05 kB / 0.9775 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/1.801, allocations: 29.06 kB / 0.9775 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/1.801, allocations: 0 / 0.9775 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.0119/1.813, allocations: 8.02 MB / 0.9853 GB, free: 112.9 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)