Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.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.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.01082/0.01082, allocations: 170 kB / 16.27 MB, free: 6.324 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.494/1.494, allocations: 205.4 MB / 222.4 MB, free: 5.539 MB / 174.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.77/1.77, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005714/0.0005714, allocations: 12.94 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2356, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.07166/0.3073, allocations: 78.89 MB / 0.8649 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03065/0.338, allocations: 22.53 MB / 0.8869 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003535/0.3416, allocations: 95.31 kB / 0.887 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00318/0.3448, allocations: 0.9754 MB / 0.888 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.007245/0.3521, allocations: 2.562 MB / 0.8905 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005198/0.3573, allocations: 2.142 MB / 0.8925 GB, free: 100 kB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.4523/0.8096, allocations: 35.81 MB / 0.9275 GB, free: 17.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02037/0.83, allocations: 14.93 MB / 0.9421 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02032/0.8503, allocations: 9.133 MB / 0.951 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02101/0.8714, allocations: 11.29 MB / 0.962 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004814/0.8762, allocations: 0.8025 MB / 0.9628 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/0.8893, allocations: 2.059 MB / 0.9648 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.007709/0.8971, allocations: 3.018 MB / 0.9678 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.02227/0.9194, allocations: 5.764 MB / 0.9734 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02232/0.9417, allocations: 17.49 MB / 0.9905 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.9418, allocations: 0 / 0.9905 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9418, allocations: 0 / 0.9905 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005468/0.9424, allocations: 0 / 0.9905 GB, free: 1.48 MB / 0.7169 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.03426/0.9766, allocations: 12.87 MB / 1.003 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.9767, allocations: 8.031 kB / 1.003 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008247/0.9849, allocations: 1.267 MB / 1.004 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02396/1.009, allocations: 9.862 MB / 1.014 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006266/1.01, allocations: 440.1 kB / 1.014 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003777/1.013, allocations: 0.5741 MB / 1.015 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03279/1.046, allocations: 14.63 MB / 1.029 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002708/1.047, allocations: 21.34 kB / 1.029 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002777/1.049, allocations: 240 kB / 1.029 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/1.049, allocations: 136 kB / 1.03 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03273/1.082, allocations: 19.79 MB / 1.049 GB, free: 8.094 MB / 0.7794 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.1114/1.194, allocations: 66.1 MB / 1.113 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01401/1.208, allocations: 9.205 MB / 1.122 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01292/1.221, allocations: 8.604 MB / 1.131 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05842/1.279, allocations: 30.61 MB / 1.161 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01181/1.291, allocations: 7.653 MB / 1.168 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03177/1.323, allocations: 11.77 MB / 1.18 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=300): time 3.333e-05/1.323, allocations: 0 / 1.18 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of matching and sorting (n=300): time 0.05501/1.378, allocations: 23.91 MB / 1.203 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/1.378, allocations: 81.77 kB / 1.203 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01339/1.391, allocations: 7.889 MB / 1.211 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.002249/1.394, allocations: 97.7 kB / 1.211 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.004475/1.398, allocations: 4.017 MB / 1.215 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.003453/1.402, allocations: 1.08 MB / 1.216 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/1.403, allocations: 383.5 kB / 1.216 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/1.403, allocations: 301.1 kB / 1.217 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009966/1.413, allocations: 6.531 MB / 1.223 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01158/1.425, allocations: 8.339 MB / 1.231 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02265/1.447, allocations: 15.27 MB / 1.246 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.859e-05/1.448, allocations: 12 kB / 1.246 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.03822/1.486, allocations: 17.7 MB / 1.263 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001294/1.487, allocations: 1.559 MB / 1.265 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.765e-05/1.487, allocations: 48 kB / 1.265 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7825/2.27, allocations: 11.38 MB / 1.276 GB, free: 366.1 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009188/2.279, allocations: 1.557 MB / 1.278 GB, free: 366.1 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008955/2.288, allocations: 6.463 MB / 1.284 GB, free: 363.3 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01203/2.3, allocations: 0.5197 MB / 1.284 GB, free: 363.3 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003178/2.303, allocations: 0.5398 MB / 1.285 GB, free: 363.3 MB / 0.9982 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/2.303, allocations: 4.188 kB / 1.285 GB, free: 363.3 MB / 0.9982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03637/2.34, allocations: 16.83 MB / 1.301 GB, free: 359.5 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001944/2.34, allocations: 50.25 kB / 1.301 GB, free: 359.5 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06688/2.407, allocations: 10.93 MB / 1.312 GB, free: 358.6 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009144/2.416, allocations: 1.556 MB / 1.314 GB, free: 358.5 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/2.428, allocations: 10.39 MB / 1.324 GB, free: 350.8 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01095/2.439, allocations: 0.4996 MB / 1.324 GB, free: 350.6 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002859/2.442, allocations: 0.5322 MB / 1.325 GB, free: 350.3 MB / 0.9982 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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.009474/2.451, allocations: 2.631 MB / 1.327 GB, free: 348.8 MB / 0.9982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004143/2.456, allocations: 0.7575 MB / 1.328 GB, free: 348.8 MB / 0.9982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02621/2.482, allocations: 14.17 MB / 1.342 GB, free: 339.9 MB / 0.9982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/2.482, allocations: 33.06 kB / 1.342 GB, free: 339.9 MB / 0.9982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/2.482, allocations: 4 kB / 1.342 GB, free: 339.9 MB / 0.9982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01312/2.495, allocations: 10.78 MB / 1.352 GB, free: 329 MB / 0.9982 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.03061/2.526, allocations: 24.5 MB / 1.376 GB, free: 304.5 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/2.526, allocations: 0 / 1.376 GB, free: 304.5 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00507/2.531, allocations: 0.7002 MB / 1.377 GB, free: 303.8 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06394/2.595, allocations: 10.26 MB / 1.387 GB, free: 293.6 MB / 0.9982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001146/2.596, allocations: 99.94 kB / 1.387 GB, free: 293.5 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00421/2.6, allocations: 4.711 MB / 1.392 GB, free: 288.6 MB / 0.9982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/2.6, allocations: 0 / 1.392 GB, free: 288.6 MB / 0.9982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02796/2.628, allocations: 19.3 MB / 1.411 GB, free: 269.6 MB / 0.9982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005385/2.634, allocations: 1.931 MB / 1.412 GB, free: 267.6 MB / 0.9982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002154/2.636, allocations: 71.98 kB / 1.413 GB, free: 267.6 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006947/2.643, allocations: 389 kB / 1.413 GB, free: 267.2 MB / 0.9982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001019/2.644, allocations: 214.5 kB / 1.413 GB, free: 267 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005839/2.644, allocations: 162.8 kB / 1.413 GB, free: 266.8 MB / 0.9982 GB Notification: Performance of sorting global known variables: time 0.009494/2.654, allocations: 5.433 MB / 1.419 GB, free: 261.4 MB / 0.9982 GB Notification: Performance of sort global known variables: time 4.51e-07/2.654, allocations: 0 / 1.419 GB, free: 261.4 MB / 0.9982 GB Notification: Performance of remove unused functions: time 0.02158/2.675, allocations: 4.834 MB / 1.423 GB, free: 256.8 MB / 0.9982 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.002671/2.678, allocations: 0.5935 MB / 1.424 GB, free: 256.3 MB / 0.9982 GB Notification: Performance of simCode: created initialization part: time 0.03694/2.715, allocations: 24 MB / 1.447 GB, free: 232.2 MB / 0.9982 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/2.715, allocations: 8.062 kB / 1.447 GB, free: 232.2 MB / 0.9982 GB Notification: Performance of simCode: created simulation system equations: time 0.009566/2.725, allocations: 6.402 MB / 1.454 GB, free: 225.8 MB / 0.9982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02715/2.752, allocations: 4.666 MB / 1.458 GB, free: 221.2 MB / 0.9982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03223/2.784, allocations: 23.66 MB / 1.481 GB, free: 197.6 MB / 0.9982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00442/2.789, allocations: 5.201 MB / 1.486 GB, free: 192.3 MB / 0.9982 GB Notification: Performance of simCode: alias equations: time 0.02028/2.809, allocations: 4.96 MB / 1.491 GB, free: 187.4 MB / 0.9982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006366/2.815, allocations: 0.9008 MB / 1.492 GB, free: 186.5 MB / 0.9982 GB Notification: Performance of SimCode: time 1.283e-06/2.815, allocations: 7.938 kB / 1.492 GB, free: 186.5 MB / 0.9982 GB Notification: Performance of Templates: time 0.8082/3.624, allocations: 217.3 MB / 1.704 GB, free: 339.2 MB / 0.9982 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1) Environment - environmentSimulation: