Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") 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: 105.8 kB / 16.4 MB, free: 6.5 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.001117/0.001117, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7447/0.7447, allocations: 122.9 MB / 414.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.19 kB / 0.5685 GB, free: 28.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1556, allocations: 77.94 MB / 0.6446 GB, free: 8.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05547/0.2111, allocations: 61.18 MB / 0.7044 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01591/0.227, allocations: 11.99 MB / 0.7161 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.2291, allocations: 59.69 kB / 0.7161 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.2309, allocations: 0.6752 MB / 0.7168 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005154/0.2361, allocations: 1.963 MB / 0.7187 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.2391, allocations: 1.209 MB / 0.7199 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004497/0.2436, allocations: 3.086 MB / 0.7229 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.2456, allocations: 1.1 MB / 0.724 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.249, allocations: 1.326 MB / 0.7253 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.2509, allocations: 0.9022 MB / 0.7262 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003717/0.2513, allocations: 116 kB / 0.7263 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.2548, allocations: 1.462 MB / 0.7277 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004842/0.2553, allocations: 298.9 kB / 0.728 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.2566, allocations: 0.6919 MB / 0.7287 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005043/0.2617, allocations: 2.305 MB / 0.7309 GB, free: 276 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2617, allocations: 4 kB / 0.7309 GB, free: 272 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2617, allocations: 0 / 0.7309 GB, free: 272 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.71e-05/0.2618, allocations: 0 / 0.7309 GB, free: 272 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004062/0.2658, allocations: 1.775 MB / 0.7326 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.2659, allocations: 8.625 kB / 0.7326 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/0.2682, allocations: 419.6 kB / 0.733 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.2707, allocations: 1.18 MB / 0.7342 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.2708, allocations: 62 kB / 0.7343 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.271, allocations: 80 kB / 0.7343 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.2731, allocations: 1.004 MB / 0.7353 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.2731, allocations: 0 / 0.7353 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/0.2732, allocations: 32 kB / 0.7353 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.2733, allocations: 23.94 kB / 0.7354 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/0.2757, allocations: 0.8625 MB / 0.7362 GB, free: 10.65 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.007393/0.2831, allocations: 5.247 MB / 0.7413 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/0.2864, allocations: 0.7878 MB / 0.7421 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007097/0.2872, allocations: 296.6 kB / 0.7424 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006142/0.2878, allocations: 0.9064 MB / 0.7433 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.2878, allocations: 34.56 kB / 0.7433 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.945e-06/0.2878, allocations: 0 / 0.7433 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008314/0.2962, allocations: 1.872 MB / 0.7451 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.2962, allocations: 59.34 kB / 0.7452 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3807/0.677, allocations: 1.067 MB / 0.7462 GB, free: 99.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.6772, allocations: 37.61 kB / 0.7463 GB, free: 99.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005179/0.6777, allocations: 0.5394 MB / 0.7468 GB, free: 99.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.6779, allocations: 161.2 kB / 0.7469 GB, free: 99.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.6782, allocations: 136.5 kB / 0.7471 GB, free: 99.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.806e-05/0.6783, allocations: 328.7 kB / 0.7474 GB, free: 98.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.6793, allocations: 312.8 kB / 0.7477 GB, free: 98.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.6805, allocations: 0.5281 MB / 0.7482 GB, free: 98.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.6822, allocations: 0.7144 MB / 0.7489 GB, free: 98.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.6822, allocations: 2.328 kB / 0.7489 GB, free: 98.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003849/0.6861, allocations: 1.155 MB / 0.75 GB, free: 97.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.6861, allocations: 6.844 kB / 0.75 GB, free: 97.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.6861, allocations: 4.875 kB / 0.75 GB, free: 97.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.6874, allocations: 309.8 kB / 0.7503 GB, free: 97.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/0.688, allocations: 130.3 kB / 0.7505 GB, free: 97.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.6894, allocations: 0.9048 MB / 0.7513 GB, free: 97.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.6909, allocations: 152.5 kB / 0.7515 GB, free: 96.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-05/0.691, allocations: 38.03 kB / 0.7515 GB, free: 96.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001358/0.6923, allocations: 0.5075 MB / 0.752 GB, free: 96.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00106/0.6934, allocations: 0.529 MB / 0.7525 GB, free: 96.37 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001681/0.6951, allocations: 0.6954 MB / 0.7532 GB, free: 96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.71e-06/0.6951, allocations: 1.812 kB / 0.7532 GB, free: 96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003923/0.699, allocations: 1.137 MB / 0.7543 GB, free: 95.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.6991, allocations: 7.438 kB / 0.7543 GB, free: 95.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.6991, allocations: 8.938 kB / 0.7544 GB, free: 95.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.7004, allocations: 301.9 kB / 0.7546 GB, free: 95.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.7011, allocations: 127.2 kB / 0.7548 GB, free: 95.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.7024, allocations: 0.896 MB / 0.7556 GB, free: 94.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.7038, allocations: 135.3 kB / 0.7558 GB, free: 94.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/0.7039, allocations: 39.25 kB / 0.7558 GB, free: 94.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0002734/0.7042, allocations: 215.9 kB / 0.756 GB, free: 94.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.7044, allocations: 117.4 kB / 0.7561 GB, free: 94.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/0.7082, allocations: 1.102 MB / 0.7572 GB, free: 94.26 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-05/0.7082, allocations: 6.359 kB / 0.7572 GB, free: 94.26 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.7083, allocations: 0.6562 kB / 0.7572 GB, free: 94.26 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.593e-05/0.7083, allocations: 7.344 kB / 0.7572 GB, free: 94.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005364/0.7137, allocations: 2.175 MB / 0.7593 GB, free: 93.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.739e-06/0.7137, allocations: 4.109 kB / 0.7593 GB, free: 93.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.7141, allocations: 67.02 kB / 0.7594 GB, free: 93.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/0.7153, allocations: 301.5 kB / 0.7597 GB, free: 93.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.7153, allocations: 16.47 kB / 0.7597 GB, free: 93.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.7168, allocations: 0.927 MB / 0.7606 GB, free: 92.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.7168, allocations: 6.219 kB / 0.7606 GB, free: 92.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00399/0.7208, allocations: 1.172 MB / 0.7618 GB, free: 91.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006055/0.7214, allocations: 275.2 kB / 0.762 GB, free: 91.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.7216, allocations: 17.69 kB / 0.762 GB, free: 91.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008129/0.7224, allocations: 67.72 kB / 0.7621 GB, free: 91.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.7225, allocations: 38.81 kB / 0.7621 GB, free: 91.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.7226, allocations: 20.55 kB / 0.7622 GB, free: 91.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001615/0.7242, allocations: 0.7554 MB / 0.7629 GB, free: 91.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7242, allocations: 0 / 0.7629 GB, free: 91.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001958/0.7262, allocations: 0.5772 MB / 0.7635 GB, free: 91.36 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.0008697/0.7271, allocations: 390.1 kB / 0.7638 GB, free: 91.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003432/0.7305, allocations: 1.132 MB / 0.7649 GB, free: 90.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.922e-06/0.7306, allocations: 2.531 kB / 0.7649 GB, free: 90.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009442/0.7315, allocations: 349.6 kB / 0.7653 GB, free: 90.81 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/0.7344, allocations: 0.5133 MB / 0.7658 GB, free: 90.65 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006205/0.7406, allocations: 2.056 MB / 0.7678 GB, free: 89.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/0.7415, allocations: 1.066 MB / 0.7688 GB, free: 88.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001266/0.7428, allocations: 227.4 kB / 0.769 GB, free: 88.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.7431, allocations: 74.19 kB / 0.7691 GB, free: 88.85 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.7431, allocations: 0 / 0.7691 GB, free: 88.85 MB / 0.5762 GB Notification: Performance of Templates: time 0.03741/0.7805, allocations: 25.3 MB / 0.7938 GB, free: 68.12 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)