Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 110.2 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.001065/0.001065, allocations: 191.2 kB / 17.34 MB, free: 5.762 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7528/0.7528, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 68.27 kB / 0.5685 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1623, allocations: 77.93 MB / 0.6446 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.055/0.2174, allocations: 61.22 MB / 0.7044 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01738/0.2348, allocations: 12.01 MB / 0.7161 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/0.2376, allocations: 59.62 kB / 0.7162 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.2398, allocations: 0.6713 MB / 0.7168 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005937/0.2458, allocations: 1.971 MB / 0.7187 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003417/0.2492, allocations: 1.209 MB / 0.7199 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004529/0.2537, allocations: 3.106 MB / 0.7229 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.2556, allocations: 1.116 MB / 0.724 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00401/0.2596, allocations: 1.34 MB / 0.7253 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002449/0.2621, allocations: 0.9068 MB / 0.7262 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004664/0.2626, allocations: 120 kB / 0.7263 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.2661, allocations: 1.439 MB / 0.7278 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004951/0.2666, allocations: 294.8 kB / 0.728 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.268, allocations: 0.7075 MB / 0.7287 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004593/0.2726, allocations: 2.309 MB / 0.731 GB, free: 188 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2726, allocations: 3.938 kB / 0.731 GB, free: 184 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2726, allocations: 0 / 0.731 GB, free: 184 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.156e-05/0.2727, allocations: 0 / 0.731 GB, free: 184 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004109/0.2768, allocations: 1.791 MB / 0.7327 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2768, allocations: 12.62 kB / 0.7327 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.279, allocations: 415.6 kB / 0.7331 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.2816, allocations: 1.18 MB / 0.7343 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/0.2817, allocations: 70 kB / 0.7344 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.2819, allocations: 76 kB / 0.7344 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.2841, allocations: 1.017 MB / 0.7354 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.2841, allocations: 0 / 0.7354 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/0.2842, allocations: 36 kB / 0.7355 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.2843, allocations: 20 kB / 0.7355 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.2866, allocations: 0.8898 MB / 0.7363 GB, free: 10.51 MB / 0.5762 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.007017/0.2937, allocations: 5.263 MB / 0.7415 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.2969, allocations: 0.7842 MB / 0.7423 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007435/0.2977, allocations: 316.6 kB / 0.7426 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007227/0.2984, allocations: 0.9064 MB / 0.7434 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.2985, allocations: 38.5 kB / 0.7435 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 3.145e-06/0.2985, allocations: 0 / 0.7435 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008016/0.3065, allocations: 1.895 MB / 0.7453 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3065, allocations: 55.41 kB / 0.7454 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3675/0.674, allocations: 1.078 MB / 0.7464 GB, free: 99.47 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.6742, allocations: 37.84 kB / 0.7465 GB, free: 99.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006176/0.6749, allocations: 0.5471 MB / 0.747 GB, free: 99.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.6751, allocations: 163.7 kB / 0.7472 GB, free: 99.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/0.6754, allocations: 140.1 kB / 0.7473 GB, free: 99.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.481e-05/0.6755, allocations: 327.7 kB / 0.7476 GB, free: 98.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.6765, allocations: 320.8 kB / 0.7479 GB, free: 98.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.6777, allocations: 0.5469 MB / 0.7484 GB, free: 98.49 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.6794, allocations: 0.7458 MB / 0.7492 GB, free: 98.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6795, allocations: 5.625 kB / 0.7492 GB, free: 98.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003872/0.6833, allocations: 1.185 MB / 0.7503 GB, free: 97.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.6834, allocations: 8.609 kB / 0.7503 GB, free: 97.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.6834, allocations: 5.219 kB / 0.7504 GB, free: 97.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.6847, allocations: 308.6 kB / 0.7506 GB, free: 97.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.6853, allocations: 138.5 kB / 0.7508 GB, free: 97.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.6867, allocations: 0.9017 MB / 0.7517 GB, free: 97.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.6881, allocations: 158 kB / 0.7518 GB, free: 97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.365e-05/0.6882, allocations: 31.47 kB / 0.7518 GB, free: 97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001357/0.6896, allocations: 0.5257 MB / 0.7524 GB, free: 96.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001166/0.6908, allocations: 0.5497 MB / 0.7529 GB, free: 96.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001846/0.6926, allocations: 0.7218 MB / 0.7536 GB, free: 96.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.112e-06/0.6926, allocations: 4.109 kB / 0.7536 GB, free: 96.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.004127/0.6968, allocations: 1.168 MB / 0.7547 GB, free: 95.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.6968, allocations: 8.266 kB / 0.7547 GB, free: 95.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.6968, allocations: 8.125 kB / 0.7548 GB, free: 95.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.698, allocations: 300.5 kB / 0.755 GB, free: 95.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.6986, allocations: 133.9 kB / 0.7552 GB, free: 95.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.6999, allocations: 0.9035 MB / 0.756 GB, free: 94.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.7012, allocations: 143.3 kB / 0.7562 GB, free: 94.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.7013, allocations: 32.77 kB / 0.7562 GB, free: 94.88 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 (58): * Single equations (assignments): 57 * 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.0002496/0.7016, allocations: 221.4 kB / 0.7564 GB, free: 94.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.7019, allocations: 118.8 kB / 0.7565 GB, free: 94.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/0.7058, allocations: 1.126 MB / 0.7576 GB, free: 94.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.7058, allocations: 7.688 kB / 0.7576 GB, free: 94.24 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.7058, allocations: 0.875 kB / 0.7576 GB, free: 94.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.7059, allocations: 2.391 kB / 0.7577 GB, free: 94.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007175/0.713, allocations: 2.197 MB / 0.7598 GB, free: 93.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.7131, allocations: 3.484 kB / 0.7598 GB, free: 93.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.7134, allocations: 74.53 kB / 0.7599 GB, free: 93.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/0.7146, allocations: 290 kB / 0.7601 GB, free: 93.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/0.7147, allocations: 12.17 kB / 0.7602 GB, free: 93.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.7162, allocations: 0.9289 MB / 0.7611 GB, free: 92.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.7162, allocations: 8.094 kB / 0.7611 GB, free: 92.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003981/0.7202, allocations: 1.205 MB / 0.7623 GB, free: 91.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007018/0.7209, allocations: 272.1 kB / 0.7625 GB, free: 91.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003468/0.7212, allocations: 13.69 kB / 0.7625 GB, free: 91.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.7223, allocations: 77.77 kB / 0.7626 GB, free: 91.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.7225, allocations: 38.47 kB / 0.7626 GB, free: 91.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.973e-05/0.7226, allocations: 26.8 kB / 0.7627 GB, free: 91.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001868/0.7245, allocations: 0.7542 MB / 0.7634 GB, free: 91.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7245, allocations: 6.656 kB / 0.7634 GB, free: 91.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00245/0.7269, allocations: 0.5788 MB / 0.764 GB, free: 91.35 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 (34): * Single equations (assignments): 29 * 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.001119/0.7281, allocations: 389 kB / 0.7643 GB, free: 91.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003952/0.732, allocations: 1.168 MB / 0.7655 GB, free: 90.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.7321, allocations: 0 / 0.7655 GB, free: 90.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.7331, allocations: 365.9 kB / 0.7658 GB, free: 90.78 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/0.7361, allocations: 0.5155 MB / 0.7663 GB, free: 90.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005699/0.7418, allocations: 2.06 MB / 0.7683 GB, free: 89.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007126/0.7425, allocations: 1.074 MB / 0.7694 GB, free: 88.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001123/0.7436, allocations: 231 kB / 0.7696 GB, free: 88.78 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.7439, allocations: 78.33 kB / 0.7697 GB, free: 88.77 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.7439, allocations: 0 / 0.7697 GB, free: 88.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.03828/0.7822, allocations: 25.41 MB / 0.7945 GB, free: 67.45 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)