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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 106.8 kB / 16.41 MB, free: 6.492 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.00136/0.00136, allocations: 189.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7651/0.7651, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 69.77 kB / 0.5577 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1423, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05913/0.2015, allocations: 61.13 MB / 0.6918 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01645/0.218, allocations: 11.99 MB / 0.7035 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.2203, allocations: 59.62 kB / 0.7035 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.2225, allocations: 0.6752 MB / 0.7042 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006336/0.2289, allocations: 1.969 MB / 0.7061 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.2324, allocations: 1.212 MB / 0.7073 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004594/0.237, allocations: 3.079 MB / 0.7103 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.2391, allocations: 1.104 MB / 0.7114 GB, free: 2.891 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004009/0.2431, allocations: 1.36 MB / 0.7127 GB, free: 1.531 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.2451, allocations: 0.8944 MB / 0.7136 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004228/0.2456, allocations: 116 kB / 0.7137 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003633/0.2492, allocations: 1.439 MB / 0.7151 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005653/0.2498, allocations: 286.9 kB / 0.7154 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.2513, allocations: 0.6997 MB / 0.7161 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004555/0.2559, allocations: 2.286 MB / 0.7183 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2559, allocations: 0 / 0.7183 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2559, allocations: 3.938 kB / 0.7183 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.464e-05/0.256, allocations: 4 kB / 0.7183 GB, free: 11.79 MB / 0.5606 GB 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.003934/0.2599, allocations: 1.722 MB / 0.72 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.26, allocations: 8.031 kB / 0.72 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002234/0.2622, allocations: 410.8 kB / 0.7204 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.2651, allocations: 1.167 MB / 0.7215 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/0.2652, allocations: 62 kB / 0.7216 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.2653, allocations: 79.98 kB / 0.7217 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.2674, allocations: 1.001 MB / 0.7226 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.2674, allocations: 3.938 kB / 0.7226 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/0.2675, allocations: 36 kB / 0.7227 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.2675, allocations: 20 kB / 0.7227 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.2696, allocations: 0.8547 MB / 0.7235 GB, free: 6.266 MB / 0.5606 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.006164/0.2758, allocations: 5.219 MB / 0.7286 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.2791, allocations: 0.7857 MB / 0.7294 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00069/0.2798, allocations: 296.7 kB / 0.7297 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/0.2804, allocations: 0.9025 MB / 0.7306 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2805, allocations: 46.56 kB / 0.7306 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.823e-06/0.2805, allocations: 3.938 kB / 0.7306 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007827/0.2883, allocations: 1.848 MB / 0.7324 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.2884, allocations: 55.41 kB / 0.7325 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.2901, allocations: 1.076 MB / 0.7335 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.2901, allocations: 37.7 kB / 0.7335 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004807/0.2906, allocations: 0.535 MB / 0.7341 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.2908, allocations: 153.8 kB / 0.7342 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.291, allocations: 134.2 kB / 0.7343 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2912, allocations: 330 kB / 0.7347 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008374/0.292, allocations: 307.3 kB / 0.7349 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.293, allocations: 0.5385 MB / 0.7355 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.2946, allocations: 0.7097 MB / 0.7362 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.2946, allocations: 0 / 0.7362 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002759/0.2974, allocations: 1.012 MB / 0.7372 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.2974, allocations: 11.98 kB / 0.7372 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.2975, allocations: 4 kB / 0.7372 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.2988, allocations: 308.7 kB / 0.7375 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.2994, allocations: 123.8 kB / 0.7376 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.3008, allocations: 0.9034 MB / 0.7385 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.3022, allocations: 151.2 kB / 0.7386 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.3023, allocations: 31.98 kB / 0.7386 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001374/0.3037, allocations: 0.5167 MB / 0.7391 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001039/0.3047, allocations: 0.5332 MB / 0.7397 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001541/0.3063, allocations: 0.7101 MB / 0.7404 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.3063, allocations: 0 / 0.7404 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002828/0.3091, allocations: 1.004 MB / 0.7413 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3092, allocations: 11.94 kB / 0.7414 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3092, allocations: 4 kB / 0.7414 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.3104, allocations: 296.7 kB / 0.7416 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.311, allocations: 123.8 kB / 0.7418 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.3124, allocations: 0.8918 MB / 0.7426 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.3138, allocations: 139.5 kB / 0.7428 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.412e-05/0.3139, allocations: 35.98 kB / 0.7428 GB, free: 1.418 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002675/0.3142, allocations: 227.3 kB / 0.743 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.3145, allocations: 106.7 kB / 0.7431 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.352/0.6665, allocations: 1.081 MB / 0.7442 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-05/0.6666, allocations: 10.88 kB / 0.7442 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.6666, allocations: 5.297 kB / 0.7442 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/0.6667, allocations: 4.188 kB / 0.7442 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006337/0.673, allocations: 2.14 MB / 0.7463 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.673, allocations: 5.094 kB / 0.7463 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.6733, allocations: 64.39 kB / 0.7463 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009708/0.6743, allocations: 295.6 kB / 0.7466 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.6744, allocations: 16.23 kB / 0.7466 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.6757, allocations: 0.9238 MB / 0.7475 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.6757, allocations: 8.156 kB / 0.7476 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/0.6792, allocations: 1.146 MB / 0.7487 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.6798, allocations: 265.2 kB / 0.7489 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6799, allocations: 13.56 kB / 0.7489 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008084/0.6807, allocations: 70.59 kB / 0.749 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.6808, allocations: 36.81 kB / 0.749 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/0.6809, allocations: 26.78 kB / 0.7491 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001336/0.6822, allocations: 0.7544 MB / 0.7498 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.6822, allocations: 0.9375 kB / 0.7498 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001748/0.684, allocations: 0.5663 MB / 0.7504 GB, free: 107.2 MB / 0.5762 GB 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.0008549/0.6849, allocations: 384.5 kB / 0.7507 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003147/0.688, allocations: 1.129 MB / 0.7518 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.688, allocations: 2.719 kB / 0.7518 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008152/0.6889, allocations: 336 kB / 0.7521 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.6911, allocations: 0.512 MB / 0.7526 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005017/0.6961, allocations: 1.999 MB / 0.7546 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007743/0.6969, allocations: 1.071 MB / 0.7556 GB, free: 105 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001057/0.698, allocations: 233.5 kB / 0.7559 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.6982, allocations: 73.98 kB / 0.7559 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of SimCode: time 9.61e-07/0.6982, allocations: 0.5625 kB / 0.7559 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.0387/0.7369, allocations: 25.11 MB / 0.7805 GB, free: 88.83 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)