Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 113.8 kB / 17.08 MB, free: 5.789 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.001984/0.001984, allocations: 200.1 kB / 18.02 MB, free: 4.918 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.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7223/0.7223, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 61.62 kB / 0.5584 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1605, allocations: 76.18 MB / 0.6328 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06902/0.2296, allocations: 75.18 MB / 0.7062 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02045/0.2501, allocations: 15.17 MB / 0.721 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/0.253, allocations: 67.56 kB / 0.7211 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.2558, allocations: 0.8384 MB / 0.7219 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007628/0.2635, allocations: 2.581 MB / 0.7244 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.2674, allocations: 1.4 MB / 0.7258 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00641/0.2738, allocations: 4.393 MB / 0.73 GB, free: 408 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002601/0.2764, allocations: 1.449 MB / 0.7315 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004179/0.2806, allocations: 1.631 MB / 0.7331 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/0.2831, allocations: 1.217 MB / 0.7342 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005954/0.2838, allocations: 164 kB / 0.7344 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003775/0.2875, allocations: 1.427 MB / 0.7358 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007569/0.2883, allocations: 398.6 kB / 0.7362 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001955/0.2903, allocations: 0.9021 MB / 0.7371 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006015/0.2963, allocations: 2.875 MB / 0.7399 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2964, allocations: 0 / 0.7399 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2964, allocations: 0 / 0.7399 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.315e-05/0.2965, allocations: 0 / 0.7399 GB, free: 6.293 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005142/0.3016, allocations: 2.083 MB / 0.7419 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3017, allocations: 8.031 kB / 0.7419 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.3028, allocations: 230.8 kB / 0.7421 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/0.306, allocations: 1.525 MB / 0.7436 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.3061, allocations: 78 kB / 0.7437 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/0.3063, allocations: 100 kB / 0.7438 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.3088, allocations: 1.104 MB / 0.7449 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.3088, allocations: 0 / 0.7449 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.3089, allocations: 47.98 kB / 0.7449 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/0.309, allocations: 24 kB / 0.7449 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.311, allocations: 0.9016 MB / 0.7458 GB, free: 44 kB / 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.3823/0.6933, allocations: 4.893 MB / 0.7506 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.6949, allocations: 0.6214 MB / 0.7512 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007814/0.6957, allocations: 356.8 kB / 0.7515 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005493/0.6963, allocations: 0.8294 MB / 0.7523 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.6963, allocations: 43.95 kB / 0.7524 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.685e-06/0.6963, allocations: 0.7812 kB / 0.7524 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.005286/0.7016, allocations: 1.405 MB / 0.7538 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.7017, allocations: 59.12 kB / 0.7538 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.7039, allocations: 1.23 MB / 0.755 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.704, allocations: 43.05 kB / 0.7551 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/0.7046, allocations: 0.6066 MB / 0.7557 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.7048, allocations: 215.6 kB / 0.7559 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/0.7051, allocations: 156.6 kB / 0.756 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.7052, allocations: 337 kB / 0.7563 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007461/0.706, allocations: 288.3 kB / 0.7566 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008956/0.7069, allocations: 499 kB / 0.7571 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.7083, allocations: 0.707 MB / 0.7578 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.7083, allocations: 0 / 0.7578 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004893/0.7132, allocations: 1.266 MB / 0.759 GB, free: 103 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.7132, allocations: 7.25 kB / 0.759 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.7133, allocations: 2.719 kB / 0.759 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000818/0.7141, allocations: 159.8 kB / 0.7592 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.7148, allocations: 154.1 kB / 0.7593 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008906/0.7157, allocations: 0.7144 MB / 0.76 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.7169, allocations: 126.9 kB / 0.7601 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.7171, allocations: 31.59 kB / 0.7602 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001497/0.7186, allocations: 0.5576 MB / 0.7607 GB, free: 102 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001012/0.7196, allocations: 490.1 kB / 0.7612 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001621/0.7212, allocations: 0.7048 MB / 0.7619 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.579e-06/0.7212, allocations: 1.031 kB / 0.7619 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005046/0.7263, allocations: 1.263 MB / 0.7631 GB, free: 101 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.7263, allocations: 11.69 kB / 0.7631 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.7263, allocations: 6.281 kB / 0.7631 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/0.727, allocations: 147.3 kB / 0.7633 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006848/0.7277, allocations: 155.4 kB / 0.7634 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007181/0.7284, allocations: 0.7222 MB / 0.7641 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.7296, allocations: 98.36 kB / 0.7642 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.7297, allocations: 30.91 kB / 0.7642 GB, free: 100.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002594/0.7299, allocations: 230.5 kB / 0.7645 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.7302, allocations: 134.7 kB / 0.7646 GB, free: 100 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.7345, allocations: 1.255 MB / 0.7658 GB, free: 99.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.7345, allocations: 7.344 kB / 0.7658 GB, free: 99.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.7346, allocations: 0 / 0.7658 GB, free: 99.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003746/0.7383, allocations: 1.091 MB / 0.7669 GB, free: 98.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004293/0.7426, allocations: 2.311 MB / 0.7691 GB, free: 97.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.7427, allocations: 13 kB / 0.7691 GB, free: 97.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.7431, allocations: 114.2 kB / 0.7693 GB, free: 97.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005399/0.7437, allocations: 149.9 kB / 0.7694 GB, free: 97.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.7437, allocations: 20.23 kB / 0.7694 GB, free: 97.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006728/0.7444, allocations: 0.7033 MB / 0.7701 GB, free: 96.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.7444, allocations: 4.125 kB / 0.7701 GB, free: 96.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.7471, allocations: 1.397 MB / 0.7715 GB, free: 95.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005021/0.7476, allocations: 310.7 kB / 0.7718 GB, free: 95.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.7478, allocations: 27.78 kB / 0.7718 GB, free: 95.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007391/0.7485, allocations: 52.41 kB / 0.7718 GB, free: 95.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.7486, allocations: 56.12 kB / 0.7719 GB, free: 95.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.7487, allocations: 31.66 kB / 0.7719 GB, free: 95.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001071/0.7498, allocations: 0.8808 MB / 0.7728 GB, free: 94.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7498, allocations: 0 / 0.7728 GB, free: 94.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001713/0.7515, allocations: 0.7111 MB / 0.7735 GB, free: 94.68 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009375/0.7524, allocations: 471.9 kB / 0.7739 GB, free: 94.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00237/0.7548, allocations: 1.133 MB / 0.775 GB, free: 93.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7548, allocations: 0 / 0.775 GB, free: 93.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007961/0.7556, allocations: 391.6 kB / 0.7754 GB, free: 93.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003314/0.759, allocations: 0.8114 MB / 0.7762 GB, free: 93.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.7624, allocations: 2.321 MB / 0.7785 GB, free: 91.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.7629, allocations: 1.164 MB / 0.7796 GB, free: 90.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.7632, allocations: 115.4 kB / 0.7797 GB, free: 90.32 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.7633, allocations: 0 / 0.7797 GB, free: 90.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.03403/0.7973, allocations: 31.16 MB / 0.8102 GB, free: 59.35 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)