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.001351/0.001351, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001496/0.001496, allocations: 184 kB / 17.22 MB, free: 5.934 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.408/1.408, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.988/1.988, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001479/0.00148, allocations: 59.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2284, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.3953/0.6238, allocations: 14.44 MB / 0.7982 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004143/0.628, allocations: 3.612 MB / 0.8017 GB, free: 40 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004294/0.6284, allocations: 14.31 kB / 0.8017 GB, free: 40 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.6291, allocations: 208.4 kB / 0.8019 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.6304, allocations: 0.5819 MB / 0.8025 GB, free: 39.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008264/0.6312, allocations: 381.6 kB / 0.8028 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.6323, allocations: 1.08 MB / 0.8039 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.6327, allocations: 315.2 kB / 0.8042 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009137/0.6336, allocations: 385.7 kB / 0.8046 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.634, allocations: 306.4 kB / 0.8048 GB, free: 38.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.6341, allocations: 34.41 kB / 0.8049 GB, free: 38.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005654/0.6346, allocations: 262.8 kB / 0.8051 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.6348, allocations: 93.53 kB / 0.8052 GB, free: 38.22 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.635, allocations: 209.9 kB / 0.8054 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008312/0.6358, allocations: 0.5851 MB / 0.806 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6358, allocations: 4 kB / 0.806 GB, free: 37.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6359, allocations: 0 / 0.806 GB, free: 37.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.6359, allocations: 0 / 0.806 GB, free: 37.87 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.00111/0.637, allocations: 0.7416 MB / 0.8067 GB, free: 37.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.637, allocations: 10.25 kB / 0.8067 GB, free: 37.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.6372, allocations: 45.89 kB / 0.8068 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000657/0.6379, allocations: 444.6 kB / 0.8072 GB, free: 36.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.6379, allocations: 20.19 kB / 0.8072 GB, free: 36.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/0.638, allocations: 30.53 kB / 0.8072 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/0.6386, allocations: 304.8 kB / 0.8075 GB, free: 36.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.6386, allocations: 5.438 kB / 0.8075 GB, free: 36.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.6387, allocations: 10.62 kB / 0.8076 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.6387, allocations: 11.88 kB / 0.8076 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.6392, allocations: 190.2 kB / 0.8077 GB, free: 36.67 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.001749/0.641, allocations: 1.485 MB / 0.8092 GB, free: 35.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.6414, allocations: 157 kB / 0.8093 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.6416, allocations: 64.31 kB / 0.8094 GB, free: 35.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.6418, allocations: 90.88 kB / 0.8095 GB, free: 35.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/0.6421, allocations: 128.3 kB / 0.8096 GB, free: 35.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.6421, allocations: 4.781 kB / 0.8096 GB, free: 35.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0006578/0.6428, allocations: 232.4 kB / 0.8098 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.6428, allocations: 59.42 kB / 0.8099 GB, free: 35.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.6432, allocations: 339.1 kB / 0.8102 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.6433, allocations: 32.36 kB / 0.8103 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.6434, allocations: 215.3 kB / 0.8105 GB, free: 34.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.6435, allocations: 47.14 kB / 0.8105 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/0.6436, allocations: 62.5 kB / 0.8106 GB, free: 34.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.905e-05/0.6436, allocations: 339.5 kB / 0.8109 GB, free: 34.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.6438, allocations: 69.48 kB / 0.811 GB, free: 34.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.6441, allocations: 151 kB / 0.8111 GB, free: 34.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.6445, allocations: 244.5 kB / 0.8113 GB, free: 33.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6445, allocations: 0.7812 kB / 0.8113 GB, free: 33.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006187/0.6451, allocations: 315.5 kB / 0.8116 GB, free: 33.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.6452, allocations: 37.45 kB / 0.8117 GB, free: 33.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6452, allocations: 2.812 kB / 0.8117 GB, free: 33.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.6452, allocations: 4 kB / 0.8117 GB, free: 33.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.6454, allocations: 59.14 kB / 0.8117 GB, free: 33.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.6455, allocations: 9.438 kB / 0.8117 GB, free: 33.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.6457, allocations: 31.22 kB / 0.8118 GB, free: 33.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.6458, allocations: 9.781 kB / 0.8118 GB, free: 33.72 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.000146/0.6459, allocations: 157 kB / 0.8119 GB, free: 33.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.646, allocations: 33.98 kB / 0.812 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004578/0.6465, allocations: 194.5 kB / 0.8121 GB, free: 33.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.6465, allocations: 10.55 kB / 0.8122 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6465, allocations: 2.438 kB / 0.8122 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004238/0.6469, allocations: 489.9 kB / 0.8126 GB, free: 32.99 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.6474, allocations: 349.7 kB / 0.813 GB, free: 32.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6474, allocations: 0 / 0.813 GB, free: 32.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.6476, allocations: 37.75 kB / 0.813 GB, free: 32.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6476, allocations: 1.438 kB / 0.813 GB, free: 32.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.6476, allocations: 5.859 kB / 0.813 GB, free: 32.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6476, allocations: 9.062 kB / 0.813 GB, free: 32.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6477, allocations: 0.6562 kB / 0.813 GB, free: 32.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000624/0.6483, allocations: 277.8 kB / 0.8133 GB, free: 32.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.6484, allocations: 125.2 kB / 0.8134 GB, free: 32.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.6485, allocations: 7.406 kB / 0.8134 GB, free: 32.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.6487, allocations: 20.52 kB / 0.8134 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.6488, allocations: 18.19 kB / 0.8134 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.6488, allocations: 7.75 kB / 0.8134 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002601/0.6491, allocations: 244.7 kB / 0.8137 GB, free: 32.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6491, allocations: 0.7812 kB / 0.8137 GB, free: 32.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005206/0.6496, allocations: 125 kB / 0.8138 GB, free: 32.29 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.0003667/0.65, allocations: 200.7 kB / 0.814 GB, free: 32.17 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004936/0.6505, allocations: 234.4 kB / 0.8142 GB, free: 32.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6505, allocations: 1.406 kB / 0.8142 GB, free: 32.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.6507, allocations: 69.05 kB / 0.8143 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009291/0.6517, allocations: 216.9 kB / 0.8145 GB, free: 32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.653, allocations: 0.719 MB / 0.8152 GB, free: 31.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.6532, allocations: 0.7882 MB / 0.816 GB, free: 30.85 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002618/0.6535, allocations: 63.22 kB / 0.816 GB, free: 30.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.6536, allocations: 36.72 kB / 0.8161 GB, free: 30.82 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.6536, allocations: 0 / 0.8161 GB, free: 30.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.01591/0.6695, allocations: 7.133 MB / 0.823 GB, free: 30.33 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)