Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001464/0.001464, allocations: 117.6 kB / 16.38 MB, free: 6.012 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.001482/0.001482, allocations: 189.4 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.1 MB / 223.2 MB, free: 12.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.91 kB / 0.6729 GB, free: 5.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2778, allocations: 114.6 MB / 0.7848 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.4659/0.7438, allocations: 14.44 MB / 0.7989 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004704/0.7485, allocations: 3.609 MB / 0.8024 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005259/0.7491, allocations: 18.25 kB / 0.8024 GB, free: 39.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.7497, allocations: 201.9 kB / 0.8026 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.7511, allocations: 0.5799 MB / 0.8032 GB, free: 39.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009539/0.7521, allocations: 390.8 kB / 0.8036 GB, free: 39.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.7534, allocations: 1.067 MB / 0.8046 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004672/0.7539, allocations: 313 kB / 0.8049 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.7549, allocations: 389.7 kB / 0.8053 GB, free: 38.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004113/0.7554, allocations: 315.9 kB / 0.8056 GB, free: 38.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.2e-05/0.7554, allocations: 35.53 kB / 0.8056 GB, free: 38.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007006/0.7561, allocations: 255.3 kB / 0.8058 GB, free: 38.13 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.7563, allocations: 99.14 kB / 0.8059 GB, free: 38.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.7565, allocations: 205 kB / 0.8061 GB, free: 37.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009193/0.7574, allocations: 0.5909 MB / 0.8067 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7574, allocations: 0 / 0.8067 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7574, allocations: 0.6875 kB / 0.8067 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.7575, allocations: 0 / 0.8067 GB, free: 37.73 MB / 0.6544 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.001182/0.7587, allocations: 0.7515 MB / 0.8075 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.7587, allocations: 8.531 kB / 0.8075 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.7589, allocations: 46.66 kB / 0.8075 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007798/0.7597, allocations: 455.9 kB / 0.8079 GB, free: 36.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.7597, allocations: 20.77 kB / 0.808 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.7598, allocations: 29.91 kB / 0.808 GB, free: 36.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.7605, allocations: 308.3 kB / 0.8083 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.7605, allocations: 4.703 kB / 0.8083 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.7605, allocations: 7.969 kB / 0.8083 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.7606, allocations: 11.17 kB / 0.8083 GB, free: 36.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.7611, allocations: 190.7 kB / 0.8085 GB, free: 36.53 MB / 0.6544 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.001872/0.7629, allocations: 1.479 MB / 0.8099 GB, free: 35.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004976/0.7635, allocations: 164 kB / 0.8101 GB, free: 35.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.7637, allocations: 64.77 kB / 0.8101 GB, free: 35.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.7638, allocations: 86.73 kB / 0.8102 GB, free: 35.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.7642, allocations: 126.2 kB / 0.8104 GB, free: 35.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/0.7642, allocations: 0 / 0.8104 GB, free: 35.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0007263/0.7649, allocations: 237.5 kB / 0.8106 GB, free: 34.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.765, allocations: 59.42 kB / 0.8106 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/0.7654, allocations: 339.7 kB / 0.811 GB, free: 34.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.7654, allocations: 32.89 kB / 0.811 GB, free: 34.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.7656, allocations: 219.3 kB / 0.8112 GB, free: 34.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.7657, allocations: 47.08 kB / 0.8112 GB, free: 34.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.7658, allocations: 59.11 kB / 0.8113 GB, free: 34.44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.7659, allocations: 339 kB / 0.8116 GB, free: 34.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.7661, allocations: 70.59 kB / 0.8117 GB, free: 34.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.7663, allocations: 148.2 kB / 0.8118 GB, free: 33.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.7668, allocations: 246.1 kB / 0.8121 GB, free: 33.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7668, allocations: 0.75 kB / 0.8121 GB, free: 33.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006473/0.7674, allocations: 311.5 kB / 0.8124 GB, free: 33.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.7675, allocations: 38.39 kB / 0.8124 GB, free: 33.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.7675, allocations: 2.438 kB / 0.8124 GB, free: 33.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.7675, allocations: 6.125 kB / 0.8124 GB, free: 33.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.7678, allocations: 63.23 kB / 0.8125 GB, free: 33.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.7678, allocations: 8.344 kB / 0.8125 GB, free: 33.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.7681, allocations: 32.06 kB / 0.8125 GB, free: 33.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.7682, allocations: 13.12 kB / 0.8125 GB, free: 33.57 MB / 0.6544 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.0001627/0.7683, allocations: 156.7 kB / 0.8127 GB, free: 33.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.7684, allocations: 31.86 kB / 0.8127 GB, free: 33.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/0.7689, allocations: 199 kB / 0.8129 GB, free: 33.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.7689, allocations: 6.094 kB / 0.8129 GB, free: 33.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.769, allocations: 0 / 0.8129 GB, free: 33.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004642/0.7694, allocations: 492.8 kB / 0.8134 GB, free: 32.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.7699, allocations: 345 kB / 0.8137 GB, free: 32.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.77, allocations: 0 / 0.8137 GB, free: 32.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.7701, allocations: 34.95 kB / 0.8137 GB, free: 32.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.7702, allocations: 5.609 kB / 0.8137 GB, free: 32.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.7702, allocations: 2.562 kB / 0.8137 GB, free: 32.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.7702, allocations: 5.438 kB / 0.8137 GB, free: 32.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7702, allocations: 0 / 0.8137 GB, free: 32.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006797/0.7709, allocations: 289.1 kB / 0.814 GB, free: 32.44 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.771, allocations: 124.9 kB / 0.8141 GB, free: 32.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.7711, allocations: 10.59 kB / 0.8141 GB, free: 32.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.7713, allocations: 17.25 kB / 0.8142 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.7714, allocations: 17 kB / 0.8142 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.7715, allocations: 8.938 kB / 0.8142 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002951/0.7718, allocations: 244.6 kB / 0.8144 GB, free: 32.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7718, allocations: 0 / 0.8144 GB, free: 32.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005545/0.7723, allocations: 121.4 kB / 0.8145 GB, free: 32.15 MB / 0.6544 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.0004056/0.7727, allocations: 197.2 kB / 0.8147 GB, free: 32.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005418/0.7733, allocations: 233 kB / 0.8149 GB, free: 31.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7733, allocations: 1.188 kB / 0.8149 GB, free: 31.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.7735, allocations: 62.84 kB / 0.815 GB, free: 31.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.7746, allocations: 216.1 kB / 0.8152 GB, free: 31.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.7761, allocations: 0.7591 MB / 0.816 GB, free: 31.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.7764, allocations: 0.7901 MB / 0.8167 GB, free: 30.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.7766, allocations: 42.23 kB / 0.8168 GB, free: 30.66 MB / 0.6544 GB Notification: Performance of SimCode: time 6.72e-07/0.7766, allocations: 0 / 0.8168 GB, free: 30.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.01458/0.7912, allocations: 6.089 MB / 0.8227 GB, free: 30.09 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)