Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008663/0.0008661, allocations: 91.14 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.006824/0.006824, allocations: 173.3 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.48/1.48, 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.477/1.477, allocations: 252 MB / 0.5105 GB, free: 4.621 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.0005544/0.0005544, allocations: 20.55 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5106, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02698/0.5376, allocations: 28.82 MB / 0.7569 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.5542, allocations: 12.79 MB / 0.7694 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.5558, allocations: 43.69 kB / 0.7694 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.5577, allocations: 0.5948 MB / 0.77 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003604/0.5613, allocations: 1.339 MB / 0.7713 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.5645, allocations: 1.222 MB / 0.7725 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004803/0.5693, allocations: 4.99 MB / 0.7774 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.5706, allocations: 1.122 MB / 0.7784 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.5723, allocations: 1.253 MB / 0.7797 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.5733, allocations: 1.003 MB / 0.7807 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.5735, allocations: 48 kB / 0.7807 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.5753, allocations: 1.061 MB / 0.7817 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.5756, allocations: 326.7 kB / 0.782 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006187/0.5762, allocations: 0.7126 MB / 0.7827 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.5784, allocations: 2.328 MB / 0.785 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5785, allocations: 0 / 0.785 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5785, allocations: 0 / 0.785 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.5785, allocations: 0 / 0.785 GB, free: 1.418 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002517/0.581, allocations: 1.67 MB / 0.7866 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.581, allocations: 8.031 kB / 0.7867 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009674/0.582, allocations: 258.8 kB / 0.7869 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.584, allocations: 1.319 MB / 0.7882 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.5841, allocations: 62 kB / 0.7882 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.5842, allocations: 91.94 kB / 0.7883 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.5858, allocations: 0.9794 MB / 0.7893 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.5858, allocations: 3.938 kB / 0.7893 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.5859, allocations: 40 kB / 0.7893 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.5859, allocations: 19.98 kB / 0.7894 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.5874, allocations: 0.7259 MB / 0.7901 GB, free: 12.08 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.004971/0.5923, allocations: 4.949 MB / 0.7949 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.5935, allocations: 0.57 MB / 0.7954 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.5941, allocations: 321.4 kB / 0.7958 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/0.5961, allocations: 1.58 MB / 0.7973 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006575/0.5967, allocations: 347 kB / 0.7976 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00031/0.5971, allocations: 99.38 kB / 0.7977 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 2.034e-06/0.5971, allocations: 4 kB / 0.7977 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.002981/0.6001, allocations: 1.165 MB / 0.7989 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.6001, allocations: 59.39 kB / 0.7989 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.6015, allocations: 1.254 MB / 0.8001 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.6016, allocations: 49.69 kB / 0.8002 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/0.6021, allocations: 0.6449 MB / 0.8008 GB, free: 464 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.6022, allocations: 145.9 kB / 0.801 GB, free: 316 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.951e-05/0.6023, allocations: 69.67 kB / 0.801 GB, free: 240 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6024, allocations: 333.9 kB / 0.8013 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.6029, allocations: 261.8 kB / 0.8016 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007611/0.6037, allocations: 0.5964 MB / 0.8022 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.6049, allocations: 0.8223 MB / 0.803 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.605, allocations: 4 kB / 0.803 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002094/0.6071, allocations: 1.09 MB / 0.8041 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002154/0.6073, allocations: 351.2 kB / 0.8044 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6073, allocations: 8 kB / 0.8044 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/0.6079, allocations: 196.5 kB / 0.8046 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.6085, allocations: 139.8 kB / 0.8047 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006809/0.6092, allocations: 0.7669 MB / 0.8055 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007474/0.6099, allocations: 84.5 kB / 0.8055 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.052e-05/0.61, allocations: 47.97 kB / 0.8056 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.61, allocations: 9.969 kB / 0.8056 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001545/0.6116, allocations: 0.9205 MB / 0.8065 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.6116, allocations: 8 kB / 0.8065 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/0.6118, allocations: 104.8 kB / 0.8066 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.6123, allocations: 144.2 kB / 0.8067 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.6142, allocations: 2.146 MB / 0.8088 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006457/0.6148, allocations: 72.66 kB / 0.8089 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.6149, allocations: 36 kB / 0.8089 GB, free: 7.523 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006054/0.6155, allocations: 476.8 kB / 0.8094 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.6157, allocations: 130.3 kB / 0.8095 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.6174, allocations: 0.8767 MB / 0.8104 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.6174, allocations: 8 kB / 0.8104 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.6174, allocations: 0 / 0.8104 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001312/0.6188, allocations: 0.8725 MB / 0.8112 GB, free: 5.074 MB / 0.6231 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.002917/0.6217, allocations: 1.857 MB / 0.8131 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.6217, allocations: 3.938 kB / 0.8131 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.6221, allocations: 79.89 kB / 0.8131 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/0.6224, allocations: 124.7 kB / 0.8133 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.6224, allocations: 20 kB / 0.8133 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005499/0.623, allocations: 0.7511 MB / 0.814 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.623, allocations: 3.938 kB / 0.814 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.625, allocations: 1.178 MB / 0.8152 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/0.6254, allocations: 279.3 kB / 0.8154 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.6256, allocations: 8 kB / 0.8154 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/0.6262, allocations: 63.94 kB / 0.8155 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.6263, allocations: 36.39 kB / 0.8155 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.6264, allocations: 27.91 kB / 0.8156 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001121/0.6275, allocations: 0.8699 MB / 0.8164 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.7e-07/0.6275, allocations: 0 / 0.8164 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001713/0.6292, allocations: 0.6433 MB / 0.817 GB, free: 14.98 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (39): * Single equations (assignments): 33 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008385/0.6301, allocations: 374.5 kB / 0.8174 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002574/0.6327, allocations: 1.323 MB / 0.8187 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.6327, allocations: 1.062 kB / 0.8187 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007382/0.6334, allocations: 326.4 kB / 0.819 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/0.6362, allocations: 0.5691 MB / 0.8196 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.6399, allocations: 2.723 MB / 0.8222 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/0.6407, allocations: 1.267 MB / 0.8234 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00108/0.6418, allocations: 306.4 kB / 0.8237 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.642, allocations: 103.3 kB / 0.8238 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of SimCode: time 7.71e-07/0.642, allocations: 0 / 0.8238 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of Templates: time 0.03835/0.6804, allocations: 24.39 MB / 0.8477 GB, free: 15.86 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: