Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008627/0.0008625, allocations: 97.64 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.008807/0.008808, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.455/1.455, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.721/1.721, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0007745/0.0007746, allocations: 13.53 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2468, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02635/0.2732, allocations: 28.81 MB / 0.816 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01617/0.2894, allocations: 12.79 MB / 0.8285 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.2909, allocations: 43.69 kB / 0.8285 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.2926, allocations: 0.5987 MB / 0.8291 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.2958, allocations: 1.341 MB / 0.8304 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.2988, allocations: 1.227 MB / 0.8316 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00475/0.3036, allocations: 4.989 MB / 0.8365 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.3049, allocations: 1.122 MB / 0.8376 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001896/0.3068, allocations: 1.245 MB / 0.8388 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.3079, allocations: 1.019 MB / 0.8398 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.3081, allocations: 48 kB / 0.8398 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.31, allocations: 1.061 MB / 0.8409 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.3103, allocations: 318.6 kB / 0.8412 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006596/0.311, allocations: 0.7244 MB / 0.8419 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.3133, allocations: 2.332 MB / 0.8442 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3133, allocations: 0 / 0.8442 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3133, allocations: 0 / 0.8442 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.3133, allocations: 0 / 0.8442 GB, free: 1.723 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00271/0.316, allocations: 1.659 MB / 0.8458 GB, free: 4 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.3161, allocations: 12.02 kB / 0.8458 GB, free: 15.99 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009911/0.3171, allocations: 258.8 kB / 0.8461 GB, free: 15.74 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.3191, allocations: 1.316 MB / 0.8473 GB, free: 14.37 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/0.3192, allocations: 66 kB / 0.8474 GB, free: 14.3 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.3193, allocations: 87.91 kB / 0.8475 GB, free: 14.22 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.3209, allocations: 0.9764 MB / 0.8484 GB, free: 13.19 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.3209, allocations: 3.938 kB / 0.8484 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-05/0.321, allocations: 35.98 kB / 0.8485 GB, free: 13.15 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.321, allocations: 20 kB / 0.8485 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.3224, allocations: 0.7259 MB / 0.8492 GB, free: 12.41 MB / 0.67 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.005066/0.3275, allocations: 4.959 MB / 0.854 GB, free: 7.094 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.3287, allocations: 0.5739 MB / 0.8546 GB, free: 6.512 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/0.3293, allocations: 328.5 kB / 0.8549 GB, free: 6.191 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/0.3312, allocations: 1.576 MB / 0.8565 GB, free: 4.465 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006456/0.3319, allocations: 346.9 kB / 0.8568 GB, free: 4.113 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003408/0.3322, allocations: 99.45 kB / 0.8569 GB, free: 4.016 MB / 0.67 GB Notification: Performance of pre-optimization done (n=44): time 2.786e-06/0.3323, allocations: 3.984 kB / 0.8569 GB, free: 4.012 MB / 0.67 GB Notification: Performance of matching and sorting (n=44): time 0.002927/0.3352, allocations: 1.169 MB / 0.858 GB, free: 2.812 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.3352, allocations: 55.41 kB / 0.8581 GB, free: 2.746 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.3367, allocations: 1.266 MB / 0.8593 GB, free: 1.465 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.3368, allocations: 37.7 kB / 0.8594 GB, free: 1.422 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005048/0.3373, allocations: 0.6449 MB / 0.86 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.3374, allocations: 153.8 kB / 0.8601 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.3375, allocations: 69.67 kB / 0.8602 GB, free: 0.543 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3376, allocations: 337.9 kB / 0.8605 GB, free: 212 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/0.3382, allocations: 261.8 kB / 0.8608 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007245/0.3389, allocations: 0.5965 MB / 0.8614 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.3402, allocations: 0.8106 MB / 0.8621 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3402, allocations: 4 kB / 0.8621 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002058/0.3422, allocations: 1.09 MB / 0.8632 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.3425, allocations: 351 kB / 0.8635 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.3425, allocations: 12 kB / 0.8636 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/0.3431, allocations: 192.6 kB / 0.8637 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.3437, allocations: 147.8 kB / 0.8639 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006808/0.3444, allocations: 0.7619 MB / 0.8646 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/0.3452, allocations: 80.5 kB / 0.8647 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.3452, allocations: 40 kB / 0.8647 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/0.3453, allocations: 11.94 kB / 0.8648 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00149/0.3467, allocations: 0.9209 MB / 0.8657 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3468, allocations: 8 kB / 0.8657 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/0.347, allocations: 112.7 kB / 0.8658 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.3474, allocations: 135.8 kB / 0.8659 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.3493, allocations: 2.148 MB / 0.868 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006675/0.35, allocations: 80.45 kB / 0.8681 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.35, allocations: 35.98 kB / 0.8681 GB, free: 7.828 MB / 0.6856 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.0006077/0.3507, allocations: 472.8 kB / 0.8686 GB, free: 7.355 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3508, allocations: 130.5 kB / 0.8687 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.3525, allocations: 0.8729 MB / 0.8695 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.3525, allocations: 8 kB / 0.8695 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.3525, allocations: 3.984 kB / 0.8695 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001267/0.3538, allocations: 0.8803 MB / 0.8704 GB, free: 5.375 MB / 0.6856 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.002715/0.3565, allocations: 1.846 MB / 0.8722 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3566, allocations: 4.031 kB / 0.8722 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.3569, allocations: 83.88 kB / 0.8723 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002644/0.3572, allocations: 128.7 kB / 0.8724 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.3572, allocations: 15.98 kB / 0.8724 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000539/0.3578, allocations: 0.7551 MB / 0.8732 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3578, allocations: 3.938 kB / 0.8732 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.3597, allocations: 1.178 MB / 0.8743 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/0.3601, allocations: 271.3 kB / 0.8746 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.3602, allocations: 15.98 kB / 0.8746 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/0.3608, allocations: 71.84 kB / 0.8747 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.3609, allocations: 36.39 kB / 0.8747 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.361, allocations: 19.98 kB / 0.8747 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009966/0.362, allocations: 0.8737 MB / 0.8756 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.4e-07/0.362, allocations: 4 kB / 0.8756 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00163/0.3636, allocations: 0.6395 MB / 0.8762 GB, free: 15.28 MB / 0.7012 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.0007464/0.3644, allocations: 360.3 kB / 0.8765 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002395/0.3668, allocations: 1.323 MB / 0.8778 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3668, allocations: 0 / 0.8778 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006821/0.3675, allocations: 323.5 kB / 0.8781 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/0.37, allocations: 0.5741 MB / 0.8787 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.3733, allocations: 2.73 MB / 0.8814 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/0.374, allocations: 1.263 MB / 0.8826 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009878/0.375, allocations: 302.5 kB / 0.8829 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.3752, allocations: 107.4 kB / 0.883 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of SimCode: time 3.01e-07/0.3752, allocations: 3.938 kB / 0.883 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of Templates: time 0.03737/0.4126, allocations: 24.37 MB / 0.9068 GB, free: 172 kB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: