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.001626/0.001626, allocations: 104 kB / 16.37 MB, free: 6.363 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.001868/0.001868, allocations: 191.8 kB / 17.3 MB, free: 5.898 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.355/1.355, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.761/1.761, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001632/0.001632, allocations: 71.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2061, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.335/0.5411, allocations: 14.45 MB / 0.7989 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004003/0.5451, allocations: 3.609 MB / 0.8024 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.5455, allocations: 18 kB / 0.8024 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000554/0.5461, allocations: 198.6 kB / 0.8026 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.5473, allocations: 0.5791 MB / 0.8032 GB, free: 39.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000833/0.5482, allocations: 391.5 kB / 0.8036 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.5493, allocations: 1.064 MB / 0.8046 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003868/0.5497, allocations: 320.2 kB / 0.8049 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008995/0.5506, allocations: 383.3 kB / 0.8053 GB, free: 38.35 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.551, allocations: 318.5 kB / 0.8056 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.463e-05/0.5511, allocations: 31.91 kB / 0.8056 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005247/0.5516, allocations: 262.2 kB / 0.8059 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.5517, allocations: 92.94 kB / 0.8059 GB, free: 38.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.5519, allocations: 205.7 kB / 0.8061 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007894/0.5527, allocations: 0.5884 MB / 0.8067 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5527, allocations: 1.125 kB / 0.8067 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5528, allocations: 0 / 0.8067 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.5528, allocations: 0 / 0.8067 GB, free: 37.71 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.001066/0.5538, allocations: 0.7425 MB / 0.8074 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5539, allocations: 12.16 kB / 0.8074 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.5541, allocations: 48.2 kB / 0.8075 GB, free: 37.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006854/0.5548, allocations: 454.8 kB / 0.8079 GB, free: 36.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.5548, allocations: 19.98 kB / 0.8079 GB, free: 36.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.5549, allocations: 31.84 kB / 0.808 GB, free: 36.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005979/0.5555, allocations: 311.5 kB / 0.8083 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.5555, allocations: 1.344 kB / 0.8083 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.5555, allocations: 14.53 kB / 0.8083 GB, free: 36.56 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.5556, allocations: 8.547 kB / 0.8083 GB, free: 36.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.5561, allocations: 194.6 kB / 0.8085 GB, free: 36.5 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.001654/0.5577, allocations: 1.477 MB / 0.8099 GB, free: 35.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.5582, allocations: 164.2 kB / 0.8101 GB, free: 35.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.5584, allocations: 65.64 kB / 0.8101 GB, free: 35.22 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.5585, allocations: 85.25 kB / 0.8102 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002967/0.5588, allocations: 125.1 kB / 0.8103 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/0.5588, allocations: 4 kB / 0.8103 GB, free: 35.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0006475/0.5595, allocations: 232.8 kB / 0.8106 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.5595, allocations: 62.91 kB / 0.8106 GB, free: 34.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.5599, allocations: 340.2 kB / 0.811 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.5599, allocations: 32.08 kB / 0.811 GB, free: 34.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.5601, allocations: 220.2 kB / 0.8112 GB, free: 34.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.5601, allocations: 51.08 kB / 0.8112 GB, free: 34.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.348e-05/0.5602, allocations: 53.78 kB / 0.8113 GB, free: 34.42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.423e-05/0.5603, allocations: 344.3 kB / 0.8116 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.5605, allocations: 69.59 kB / 0.8117 GB, free: 34.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.5607, allocations: 144.1 kB / 0.8118 GB, free: 33.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.5612, allocations: 245.1 kB / 0.8121 GB, free: 33.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5612, allocations: 4.562 kB / 0.8121 GB, free: 33.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006042/0.5618, allocations: 312.5 kB / 0.8124 GB, free: 33.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.5618, allocations: 33.92 kB / 0.8124 GB, free: 33.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5618, allocations: 3.234 kB / 0.8124 GB, free: 33.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.5619, allocations: 5.25 kB / 0.8124 GB, free: 33.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.5621, allocations: 58.61 kB / 0.8125 GB, free: 33.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.5621, allocations: 16.22 kB / 0.8125 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.5624, allocations: 31.28 kB / 0.8125 GB, free: 33.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.5624, allocations: 9.766 kB / 0.8125 GB, free: 33.55 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.0001335/0.5626, allocations: 157.8 kB / 0.8127 GB, free: 33.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.5626, allocations: 32.09 kB / 0.8127 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.5631, allocations: 196.8 kB / 0.8129 GB, free: 33.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004141/0.5635, allocations: 492.3 kB / 0.8134 GB, free: 32.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.5636, allocations: 3.938 kB / 0.8134 GB, free: 32.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.5637, allocations: 121.6 kB / 0.8135 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.15e-05/0.5637, allocations: 3 kB / 0.8135 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.564, allocations: 16.86 kB / 0.8135 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.564, allocations: 16.84 kB / 0.8135 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005613/0.5646, allocations: 275.1 kB / 0.8138 GB, free: 32.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006797/0.5653, allocations: 437.2 kB / 0.8142 GB, free: 32.25 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001805/0.5655, allocations: 76.2 kB / 0.8143 GB, free: 32.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000246/0.5658, allocations: 244 kB / 0.8145 GB, free: 32.1 MB / 0.6544 GB Notification: Performance of Backend: time 3.5e-07/0.5658, allocations: 0 / 0.8145 GB, free: 32.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009237/0.5667, allocations: 358.1 kB / 0.8148 GB, free: 31.91 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001829/0.5685, allocations: 1.333 MB / 0.8161 GB, free: 30.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.0154/0.5839, allocations: 7.378 MB / 0.8233 GB, free: 30.45 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)