Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 180.7 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007807/0.0007809, allocations: 94.28 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 14.55 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2174, allocations: 106.3 MB / 0.9014 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.06022/0.2777, allocations: 78.89 MB / 0.9785 GB, free: 352 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03373/0.3115, allocations: 22.53 MB / 1 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004964/0.3165, allocations: 91.31 kB / 1.001 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003772/0.3203, allocations: 0.9832 MB / 1.002 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008635/0.329, allocations: 2.549 MB / 1.004 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006286/0.3353, allocations: 2.177 MB / 1.006 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.03553/0.3708, allocations: 35.83 MB / 1.041 GB, free: 60 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02063/0.3915, allocations: 14.92 MB / 1.056 GB, free: 1.023 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5497/0.9413, allocations: 9.276 MB / 1.065 GB, free: 20.37 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02846/0.9698, allocations: 11.34 MB / 1.076 GB, free: 19.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.008083/0.978, allocations: 0.8141 MB / 1.077 GB, free: 19.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01627/0.9942, allocations: 2.073 MB / 1.079 GB, free: 19.07 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.01271/1.007, allocations: 3.053 MB / 1.082 GB, free: 18.71 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.01948/1.027, allocations: 5.798 MB / 1.087 GB, free: 17.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02208/1.049, allocations: 13.95 MB / 1.101 GB, free: 16.92 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.049, allocations: 1.5 kB / 1.101 GB, free: 16.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/1.049, allocations: 0 / 1.101 GB, free: 16.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007486/1.049, allocations: 0 / 1.101 GB, free: 16.92 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.04098/1.09, allocations: 12.98 MB / 1.114 GB, free: 12.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.091, allocations: 10.59 kB / 1.114 GB, free: 12.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/1.101, allocations: 1.268 MB / 1.115 GB, free: 12.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02709/1.128, allocations: 9.889 MB / 1.125 GB, free: 8.938 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005427/1.129, allocations: 439.2 kB / 1.125 GB, free: 8.926 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005528/1.135, allocations: 0.5827 MB / 1.125 GB, free: 8.914 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0436/1.178, allocations: 14.73 MB / 1.14 GB, free: 4.059 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004883/1.179, allocations: 20.8 kB / 1.14 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005377/1.184, allocations: 240.5 kB / 1.14 GB, free: 4.051 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/1.184, allocations: 138 kB / 1.14 GB, free: 4.051 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04008/1.224, allocations: 19.92 MB / 1.16 GB, free: 11.89 MB / 0.7136 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.1466/1.371, allocations: 66.62 MB / 1.225 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01959/1.391, allocations: 9.333 MB / 1.234 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01533/1.406, allocations: 8.685 MB / 1.242 GB, free: 9.766 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07596/1.482, allocations: 30.98 MB / 1.273 GB, free: 10.51 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01529/1.497, allocations: 7.752 MB / 1.28 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03256/1.53, allocations: 11.76 MB / 1.292 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=300): time 3.292e-05/1.53, allocations: 0 / 1.292 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of matching and sorting (n=300): time 0.0651/1.595, allocations: 24.55 MB / 1.316 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/1.595, allocations: 89.77 kB / 1.316 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02069/1.616, allocations: 8.169 MB / 1.324 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.002982/1.619, allocations: 93.7 kB / 1.324 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.006306/1.625, allocations: 4.014 MB / 1.328 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.004122/1.629, allocations: 1.083 MB / 1.329 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002729/1.632, allocations: 91.28 kB / 1.329 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0005654/1.633, allocations: 491.8 kB / 1.329 GB, free: 404 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01253/1.645, allocations: 6.629 MB / 1.336 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01439/1.66, allocations: 8.488 MB / 1.344 GB, free: 460 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02662/1.686, allocations: 15.46 MB / 1.359 GB, free: 496 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.687e-05/1.687, allocations: 16 kB / 1.359 GB, free: 480 kB / 0.9011 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.0453/1.732, allocations: 18.02 MB / 1.377 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001477/1.733, allocations: 1.563 MB / 1.378 GB, free: 12.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/1.734, allocations: 48 kB / 1.378 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06783/1.801, allocations: 11.57 MB / 1.39 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/1.812, allocations: 1.568 MB / 1.391 GB, free: 15.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/1.822, allocations: 6.804 MB / 1.398 GB, free: 8.422 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01565/1.838, allocations: 0.5961 MB / 1.398 GB, free: 7.828 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004791/1.842, allocations: 0.5447 MB / 1.399 GB, free: 7.285 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/1.843, allocations: 4 kB / 1.399 GB, free: 7.281 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5963/2.439, allocations: 16.77 MB / 1.415 GB, free: 363.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002035/2.439, allocations: 51.81 kB / 1.415 GB, free: 363.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06947/2.509, allocations: 11.02 MB / 1.426 GB, free: 362.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009929/2.519, allocations: 1.547 MB / 1.428 GB, free: 362.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/2.533, allocations: 11.04 MB / 1.438 GB, free: 358.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01366/2.546, allocations: 0.5675 MB / 1.439 GB, free: 358.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003601/2.55, allocations: 0.5343 MB / 1.44 GB, free: 358.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 521 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.009822/2.56, allocations: 2.631 MB / 1.442 GB, free: 357.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004106/2.564, allocations: 0.7547 MB / 1.443 GB, free: 357.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03425/2.598, allocations: 14.37 MB / 1.457 GB, free: 352.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.362e-05/2.598, allocations: 33.97 kB / 1.457 GB, free: 352.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/2.598, allocations: 0 / 1.457 GB, free: 352.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01775/2.616, allocations: 10.96 MB / 1.468 GB, free: 346.7 MB / 0.948 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.04862/2.665, allocations: 24.92 MB / 1.492 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/2.665, allocations: 0 / 1.492 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005758/2.671, allocations: 0.6963 MB / 1.493 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06025/2.731, allocations: 10.34 MB / 1.503 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001514/2.733, allocations: 103.9 kB / 1.503 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005043/2.738, allocations: 4.937 MB / 1.508 GB, free: 305.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/2.738, allocations: 0 / 1.508 GB, free: 305.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03078/2.769, allocations: 19.59 MB / 1.527 GB, free: 286.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007779/2.776, allocations: 1.998 MB / 1.529 GB, free: 284.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004281/2.781, allocations: 75.92 kB / 1.529 GB, free: 284.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01009/2.791, allocations: 448.5 kB / 1.529 GB, free: 283.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002059/2.793, allocations: 218.4 kB / 1.529 GB, free: 283.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001751/2.795, allocations: 155.9 kB / 1.53 GB, free: 283.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01251/2.807, allocations: 5.64 MB / 1.535 GB, free: 277.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.21e-07/2.807, allocations: 0 / 1.535 GB, free: 277.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02508/2.832, allocations: 4.974 MB / 1.54 GB, free: 273.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].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 (304): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003264/2.836, allocations: 0.5905 MB / 1.541 GB, free: 272.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.04126/2.877, allocations: 24.3 MB / 1.564 GB, free: 248.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/2.877, allocations: 4 kB / 1.564 GB, free: 248.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01048/2.887, allocations: 6.472 MB / 1.571 GB, free: 241.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03261/2.92, allocations: 5.033 MB / 1.575 GB, free: 236.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03907/2.959, allocations: 24.01 MB / 1.599 GB, free: 212.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004623/2.964, allocations: 5.194 MB / 1.604 GB, free: 207.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006576/2.971, allocations: 0.9593 MB / 1.605 GB, free: 206.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/2.971, allocations: 0 / 1.605 GB, free: 206.6 MB / 0.948 GB Notification: Performance of Templates: time 0.7962/3.767, allocations: 350.3 MB / 1.947 GB, free: 243.3 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)