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.001387/0.001387, allocations: 100.3 kB / 16.35 MB, free: 6.348 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.001597/0.001597, allocations: 196.8 kB / 17.29 MB, free: 5.93 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.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.776/1.776, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001425/0.001425, allocations: 63.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2342, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.3601/0.5944, allocations: 14.44 MB / 0.7989 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004554/0.599, allocations: 3.61 MB / 0.8024 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005439/0.5996, allocations: 17.78 kB / 0.8024 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006917/0.6003, allocations: 197.8 kB / 0.8026 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.6017, allocations: 0.5848 MB / 0.8032 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008517/0.6025, allocations: 388 kB / 0.8035 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.6036, allocations: 1.072 MB / 0.8046 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/0.604, allocations: 312.6 kB / 0.8049 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008821/0.6049, allocations: 398.3 kB / 0.8053 GB, free: 38.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003564/0.6053, allocations: 310 kB / 0.8056 GB, free: 38.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.281e-05/0.6054, allocations: 30.47 kB / 0.8056 GB, free: 38.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005653/0.6059, allocations: 257.6 kB / 0.8058 GB, free: 38.14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.6061, allocations: 90.69 kB / 0.8059 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.6063, allocations: 214.4 kB / 0.8061 GB, free: 37.97 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008937/0.6072, allocations: 0.5869 MB / 0.8067 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6072, allocations: 0 / 0.8067 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.056e-06/0.6072, allocations: 1.938 kB / 0.8067 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.6073, allocations: 0 / 0.8067 GB, free: 37.75 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.001187/0.6084, allocations: 0.7414 MB / 0.8074 GB, free: 37.15 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.6085, allocations: 9.453 kB / 0.8074 GB, free: 37.15 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.6088, allocations: 47.03 kB / 0.8075 GB, free: 37.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/0.6095, allocations: 440.2 kB / 0.8079 GB, free: 36.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.6095, allocations: 19.3 kB / 0.8079 GB, free: 36.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/0.6096, allocations: 33.69 kB / 0.8079 GB, free: 36.78 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/0.6102, allocations: 307.2 kB / 0.8082 GB, free: 36.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.6103, allocations: 4 kB / 0.8082 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.6103, allocations: 7.734 kB / 0.8083 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.6103, allocations: 11.84 kB / 0.8083 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.6108, allocations: 198.4 kB / 0.8085 GB, free: 36.54 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.001693/0.6125, allocations: 1.481 MB / 0.8099 GB, free: 35.35 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.613, allocations: 155.2 kB / 0.81 GB, free: 35.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.6132, allocations: 68.3 kB / 0.8101 GB, free: 35.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.6133, allocations: 85.94 kB / 0.8102 GB, free: 35.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.6136, allocations: 128.3 kB / 0.8103 GB, free: 35.1 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.6136, allocations: 0 / 0.8103 GB, free: 35.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0006436/0.6142, allocations: 236.7 kB / 0.8105 GB, free: 35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.6143, allocations: 57.95 kB / 0.8106 GB, free: 34.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.6147, allocations: 340.1 kB / 0.8109 GB, free: 34.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.6147, allocations: 31.98 kB / 0.811 GB, free: 34.72 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.6148, allocations: 215.7 kB / 0.8112 GB, free: 34.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.6149, allocations: 50.91 kB / 0.8112 GB, free: 34.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/0.615, allocations: 59.05 kB / 0.8113 GB, free: 34.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.615, allocations: 340.6 kB / 0.8116 GB, free: 34.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.6153, allocations: 77.47 kB / 0.8117 GB, free: 34.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.6155, allocations: 139.8 kB / 0.8118 GB, free: 34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.6159, allocations: 245.5 kB / 0.812 GB, free: 33.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6159, allocations: 4.656 kB / 0.812 GB, free: 33.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006151/0.6165, allocations: 315.6 kB / 0.8123 GB, free: 33.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.6166, allocations: 37.38 kB / 0.8124 GB, free: 33.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.6166, allocations: 5.469 kB / 0.8124 GB, free: 33.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.6166, allocations: 3 kB / 0.8124 GB, free: 33.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.6169, allocations: 58.8 kB / 0.8124 GB, free: 33.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.6169, allocations: 5.078 kB / 0.8124 GB, free: 33.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.6172, allocations: 32.03 kB / 0.8125 GB, free: 33.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.6172, allocations: 14.81 kB / 0.8125 GB, free: 33.59 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.0001383/0.6174, allocations: 157.6 kB / 0.8126 GB, free: 33.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.6174, allocations: 31.03 kB / 0.8127 GB, free: 33.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.6179, allocations: 200.8 kB / 0.8129 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6179, allocations: 5.281 kB / 0.8129 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6179, allocations: 0 / 0.8129 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004359/0.6184, allocations: 491.6 kB / 0.8133 GB, free: 32.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.6188, allocations: 350 kB / 0.8137 GB, free: 32.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6188, allocations: 0 / 0.8137 GB, free: 32.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.619, allocations: 37.03 kB / 0.8137 GB, free: 32.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.619, allocations: 1.156 kB / 0.8137 GB, free: 32.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.619, allocations: 2.047 kB / 0.8137 GB, free: 32.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.6191, allocations: 6.656 kB / 0.8137 GB, free: 32.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6191, allocations: 1.609 kB / 0.8137 GB, free: 32.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006055/0.6197, allocations: 282.3 kB / 0.814 GB, free: 32.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.6198, allocations: 125.8 kB / 0.8141 GB, free: 32.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.6199, allocations: 7.594 kB / 0.8141 GB, free: 32.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.6201, allocations: 17.58 kB / 0.8141 GB, free: 32.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.6202, allocations: 17.64 kB / 0.8141 GB, free: 32.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.6202, allocations: 7.125 kB / 0.8141 GB, free: 32.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002416/0.6205, allocations: 252.3 kB / 0.8144 GB, free: 32.19 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6205, allocations: 0 / 0.8144 GB, free: 32.19 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004628/0.6209, allocations: 120.5 kB / 0.8145 GB, free: 32.16 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.0003274/0.6213, allocations: 197.9 kB / 0.8147 GB, free: 32.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004998/0.6218, allocations: 232.3 kB / 0.8149 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6218, allocations: 4.062 kB / 0.8149 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.622, allocations: 68.7 kB / 0.815 GB, free: 31.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009707/0.623, allocations: 207.2 kB / 0.8152 GB, free: 31.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.6242, allocations: 0.7269 MB / 0.8159 GB, free: 31.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.6245, allocations: 0.7882 MB / 0.8167 GB, free: 30.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002561/0.6247, allocations: 65.3 kB / 0.8167 GB, free: 30.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.6248, allocations: 38.12 kB / 0.8168 GB, free: 30.7 MB / 0.6544 GB Notification: Performance of SimCode: time 5.82e-07/0.6248, allocations: 1.281 kB / 0.8168 GB, free: 30.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.01409/0.6389, allocations: 7.13 MB / 0.8237 GB, free: 30.21 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)