Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005655/0.005656, allocations: 171.5 kB / 16.26 MB, free: 6.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.376/1.376, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.51/1.51, allocations: 252 MB / 0.5105 GB, free: 4.711 MB / 414.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.0005151/0.0005151, allocations: 20.56 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4634, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03053/0.494, allocations: 31.88 MB / 0.7598 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01961/0.5137, allocations: 13.35 MB / 0.7729 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.5155, allocations: 47.69 kB / 0.7729 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.5177, allocations: 0.6337 MB / 0.7736 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.522, allocations: 1.446 MB / 0.775 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.5252, allocations: 1.244 MB / 0.7762 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006142/0.5314, allocations: 6.405 MB / 0.7824 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/0.5338, allocations: 1.741 MB / 0.7841 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.5369, allocations: 1.602 MB / 0.7857 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.5387, allocations: 1.33 MB / 0.787 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.5389, allocations: 68 kB / 0.7871 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.5411, allocations: 1.08 MB / 0.7881 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003806/0.5415, allocations: 378.2 kB / 0.7885 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009952/0.5425, allocations: 0.9302 MB / 0.7894 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003072/0.5456, allocations: 2.788 MB / 0.7921 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5456, allocations: 4 kB / 0.7921 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5456, allocations: 7.875 kB / 0.7921 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.022e-05/0.5457, allocations: 0 / 0.7921 GB, free: 10.13 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003114/0.5488, allocations: 2.03 MB / 0.7941 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.5488, allocations: 12.03 kB / 0.7941 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.5499, allocations: 310.2 kB / 0.7944 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.5526, allocations: 1.632 MB / 0.796 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.5526, allocations: 78 kB / 0.7961 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.5528, allocations: 108 kB / 0.7962 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.5548, allocations: 1.291 MB / 0.7974 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.5548, allocations: 7.938 kB / 0.7975 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.31e-05/0.5549, allocations: 36 kB / 0.7975 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.5549, allocations: 27.94 kB / 0.7975 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.5567, allocations: 0.9952 MB / 0.7985 GB, free: 3.422 MB / 0.6075 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.007461/0.5641, allocations: 6.762 MB / 0.8051 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.5654, allocations: 0.6074 MB / 0.8057 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/0.5661, allocations: 398.3 kB / 0.8061 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002686/0.5688, allocations: 1.71 MB / 0.8077 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006922/0.5695, allocations: 369.1 kB / 0.8081 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005043/0.57, allocations: 103.3 kB / 0.8082 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=46): time 2.043e-06/0.5701, allocations: 0 / 0.8082 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46): time 0.003261/0.5733, allocations: 1.328 MB / 0.8095 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.5734, allocations: 59.41 kB / 0.8095 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.5754, allocations: 1.772 MB / 0.8113 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.5755, allocations: 37.7 kB / 0.8113 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006906/0.5762, allocations: 0.8537 MB / 0.8121 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.5763, allocations: 161.7 kB / 0.8123 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.5764, allocations: 77.69 kB / 0.8124 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5766, allocations: 337.9 kB / 0.8127 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.5772, allocations: 305.8 kB / 0.813 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008725/0.5781, allocations: 0.7441 MB / 0.8137 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.5795, allocations: 0.9954 MB / 0.8147 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.5795, allocations: 4 kB / 0.8147 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002539/0.5821, allocations: 1.296 MB / 0.8159 GB, free: 400 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002665/0.5824, allocations: 431.5 kB / 0.8164 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.5824, allocations: 8 kB / 0.8164 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006658/0.5831, allocations: 200.5 kB / 0.8166 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006087/0.5837, allocations: 167.7 kB / 0.8167 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000646/0.5843, allocations: 0.7619 MB / 0.8175 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.5856, allocations: 96.5 kB / 0.8176 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/0.5856, allocations: 43.98 kB / 0.8176 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.5857, allocations: 4 kB / 0.8176 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001797/0.5875, allocations: 1.093 MB / 0.8187 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.5875, allocations: 12 kB / 0.8187 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.5877, allocations: 113.5 kB / 0.8188 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.5883, allocations: 171.7 kB / 0.8189 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.5904, allocations: 2.122 MB / 0.821 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.5917, allocations: 96.44 kB / 0.8211 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/0.5917, allocations: 47.97 kB / 0.8212 GB, free: 10.71 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0009379/0.5927, allocations: 0.5903 MB / 0.8217 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/0.593, allocations: 169.8 kB / 0.8219 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.595, allocations: 0.9843 MB / 0.8229 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.5951, allocations: 4 kB / 0.8229 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5951, allocations: 0 / 0.8229 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001422/0.5965, allocations: 0.9528 MB / 0.8238 GB, free: 7.93 MB / 0.6387 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 postOpt removeSimpleEquations (simulation): time 0.003656/0.6002, allocations: 2.171 MB / 0.8259 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6002, allocations: 3.938 kB / 0.8259 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/0.6006, allocations: 87.94 kB / 0.826 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003072/0.6009, allocations: 136.9 kB / 0.8261 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/0.601, allocations: 15.92 kB / 0.8261 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005475/0.6015, allocations: 0.729 MB / 0.8269 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.6016, allocations: 7.969 kB / 0.8269 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.604, allocations: 1.37 MB / 0.8282 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000841/0.6049, allocations: 314.8 kB / 0.8285 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.6051, allocations: 12 kB / 0.8285 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007299/0.6058, allocations: 67.94 kB / 0.8286 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.606, allocations: 48.31 kB / 0.8286 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/0.606, allocations: 19.98 kB / 0.8286 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001819/0.6078, allocations: 1.231 MB / 0.8298 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6079, allocations: 0 / 0.8298 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002377/0.6102, allocations: 0.7837 MB / 0.8306 GB, free: 0.7539 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008582/0.6111, allocations: 379.9 kB / 0.831 GB, free: 396 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002689/0.6138, allocations: 1.477 MB / 0.8324 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6138, allocations: 0 / 0.8324 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006609/0.6145, allocations: 339.7 kB / 0.8327 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/0.618, allocations: 0.7351 MB / 0.8335 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/0.6227, allocations: 3.508 MB / 0.8369 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009382/0.6236, allocations: 1.495 MB / 0.8383 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001575/0.6252, allocations: 441.9 kB / 0.8388 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.6255, allocations: 131.4 kB / 0.8389 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/0.6255, allocations: 0 / 0.8389 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of Templates: time 0.05015/0.6756, allocations: 30.21 MB / 0.8684 GB, free: 10.37 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: