Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000874/0.000874, allocations: 72.95 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008894/0.0008894, allocations: 169.3 kB / 24.14 MB, free: 352 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.01/1.01, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.599/0.599, allocations: 115 MB / 376 MB, free: 7.516 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 428.7 MB, free: 2.836 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.695e-05, allocations: 2.312 kB / 428.7 MB, free: 2.832 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.02015/0.02018, allocations: 17.94 MB / 446.6 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2189/0.2391, allocations: 7.573 MB / 454.2 MB, free: 19.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.2415, allocations: 93.44 kB / 454.3 MB, free: 19.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.2428, allocations: 402.1 kB / 454.7 MB, free: 19.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004337/0.2472, allocations: 1.508 MB / 456.2 MB, free: 18.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.251, allocations: 1.577 MB / 457.8 MB, free: 17.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004099/0.2551, allocations: 3.141 MB / 460.9 MB, free: 16.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.2565, allocations: 0.915 MB / 461.8 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.2595, allocations: 1.655 MB / 463.5 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.2609, allocations: 0.7004 MB / 464.2 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.2612, allocations: 115.8 kB / 464.3 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.263, allocations: 0.9055 MB / 465.2 MB, free: 14.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.2632, allocations: 318.8 kB / 465.5 MB, free: 14.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005786/0.2638, allocations: 485.8 kB / 466 MB, free: 14.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.2661, allocations: 1.553 MB / 467.6 MB, free: 13.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2661, allocations: 0 / 467.6 MB, free: 13.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2661, allocations: 2.906 kB / 467.6 MB, free: 13.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.58e-05/0.2661, allocations: 0 / 467.6 MB, free: 13.4 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002013/0.2682, allocations: 1.674 MB / 469.2 MB, free: 12.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2682, allocations: 9.75 kB / 469.2 MB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008145/0.269, allocations: 360.4 kB / 469.6 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.2701, allocations: 0.844 MB / 470.4 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.2701, allocations: 66.47 kB / 470.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/0.2702, allocations: 93.36 kB / 470.6 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006689/0.2709, allocations: 0.7604 MB / 471.4 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.2709, allocations: 3.938 kB / 471.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.2709, allocations: 34.09 kB / 471.4 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.271, allocations: 20 kB / 471.4 MB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.2713, allocations: 275.3 kB / 471.7 MB, free: 10.45 MB / 410.7 MB 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.002503/0.2738, allocations: 2.944 MB / 474.6 MB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000708/0.2745, allocations: 379.7 kB / 475 MB, free: 7.148 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.763e-05/0.2746, allocations: 98.45 kB / 475.1 MB, free: 7.051 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.2747, allocations: 45.25 kB / 475.1 MB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.2747, allocations: 38.56 kB / 475.2 MB, free: 6.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.2747, allocations: 0.9062 kB / 475.2 MB, free: 6.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.001918/0.2766, allocations: 0.8896 MB / 476.1 MB, free: 6.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.2766, allocations: 59.34 kB / 476.1 MB, free: 6.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.2772, allocations: 0.8435 MB / 477 MB, free: 5.328 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.2772, allocations: 41.7 kB / 477 MB, free: 5.281 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.2774, allocations: 446.6 kB / 477.4 MB, free: 4.887 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.2774, allocations: 152 kB / 477.6 MB, free: 4.746 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.2776, allocations: 166.4 kB / 477.8 MB, free: 4.598 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.755e-05/0.2776, allocations: 333 kB / 478.1 MB, free: 4.281 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2778, allocations: 107.5 kB / 478.2 MB, free: 4.172 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.278, allocations: 0.847 MB / 479 MB, free: 3.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.2784, allocations: 0.5019 MB / 479.5 MB, free: 2.488 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2784, allocations: 2.094 kB / 479.5 MB, free: 2.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008738/0.2793, allocations: 0.625 MB / 480.2 MB, free: 1.867 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2793, allocations: 8 kB / 480.2 MB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.2793, allocations: 12 kB / 480.2 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004311/0.2797, allocations: 179.2 kB / 480.4 MB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.28, allocations: 144.5 kB / 480.5 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003708/0.2804, allocations: 0.6552 MB / 481.2 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.2808, allocations: 119.5 kB / 481.3 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.2808, allocations: 39.92 kB / 481.3 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002652/0.2811, allocations: 194.8 kB / 481.5 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003754/0.2815, allocations: 0.8319 MB / 482.3 MB, free: 15.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004126/0.2819, allocations: 0.5109 MB / 482.8 MB, free: 14.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.472e-06/0.2819, allocations: 4 kB / 482.8 MB, free: 14.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.0009925/0.2829, allocations: 0.6276 MB / 483.5 MB, free: 14.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2829, allocations: 12.91 kB / 483.5 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2829, allocations: 8 kB / 483.5 MB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.2833, allocations: 168.6 kB / 483.7 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.2836, allocations: 148.2 kB / 483.8 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004196/0.284, allocations: 0.6359 MB / 484.4 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004296/0.2844, allocations: 112.1 kB / 484.5 MB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.2844, allocations: 39.98 kB / 484.6 MB, free: 13.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.2846, allocations: 232 kB / 484.8 MB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/0.2847, allocations: 71.92 kB / 484.9 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009678/0.2857, allocations: 0.5366 MB / 485.4 MB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.2857, allocations: 10.38 kB / 485.4 MB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2857, allocations: 1.188 kB / 485.4 MB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2857, allocations: 0 / 485.4 MB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.2872, allocations: 1.135 MB / 486.6 MB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2872, allocations: 0.5312 kB / 486.6 MB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.2873, allocations: 55.03 kB / 486.6 MB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002898/0.2876, allocations: 164.8 kB / 486.8 MB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.2876, allocations: 19.98 kB / 486.8 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005122/0.2881, allocations: 0.6466 MB / 487.4 MB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.2881, allocations: 4.656 kB / 487.5 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.2889, allocations: 0.636 MB / 488.1 MB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.289, allocations: 139.1 kB / 488.2 MB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.2891, allocations: 12 kB / 488.2 MB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.2894, allocations: 43.91 kB / 488.3 MB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.2894, allocations: 40.2 kB / 488.3 MB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.2894, allocations: 15.98 kB / 488.3 MB, free: 9.359 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002934/0.2897, allocations: 416.9 kB / 488.7 MB, free: 8.992 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2897, allocations: 0 / 488.7 MB, free: 8.992 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001052/0.2908, allocations: 0.5728 MB / 489.3 MB, free: 8.418 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000337/0.2911, allocations: 231.1 kB / 489.5 MB, free: 8.199 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007864/0.2919, allocations: 0.5876 MB / 490.1 MB, free: 7.633 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/0.2919, allocations: 12.75 kB / 490.1 MB, free: 7.621 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.2921, allocations: 153.3 kB / 490.3 MB, free: 7.473 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009818/0.2931, allocations: 428.3 kB / 490.7 MB, free: 7.105 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.2959, allocations: 1.809 MB / 492.5 MB, free: 5.234 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.296, allocations: 201.1 kB / 492.7 MB, free: 5.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004731/0.2965, allocations: 176.2 kB / 492.9 MB, free: 4.852 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/0.2971, allocations: 363.1 kB / 493.2 MB, free: 4.492 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/0.2971, allocations: 0 / 493.2 MB, free: 4.492 MB / 426.7 MB Notification: Performance of Templates: time 0.02689/0.324, allocations: 21.73 MB / 0.5029 GB, free: 15.42 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7925691618584096]