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.001097/0.001097, allocations: 107.5 kB / 16.41 MB, free: 6.488 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.001105/0.001106, allocations: 193.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.264/1.264, 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.6623/0.6623, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 64.11 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1252, allocations: 76.19 MB / 0.6321 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06452/0.1898, allocations: 75.19 MB / 0.7055 GB, free: 8.918 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01766/0.2075, allocations: 15.16 MB / 0.7203 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.2092, allocations: 67.62 kB / 0.7204 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.2109, allocations: 0.8306 MB / 0.7212 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005003/0.216, allocations: 2.58 MB / 0.7237 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.2188, allocations: 1.405 MB / 0.7251 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004359/0.2231, allocations: 4.392 MB / 0.7294 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.2248, allocations: 1.449 MB / 0.7308 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/0.2278, allocations: 1.67 MB / 0.7324 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.2295, allocations: 1.217 MB / 0.7336 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.2298, allocations: 167.9 kB / 0.7338 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.2326, allocations: 1.427 MB / 0.7352 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.233, allocations: 402.6 kB / 0.7356 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008737/0.2339, allocations: 0.8982 MB / 0.7364 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003683/0.2376, allocations: 2.879 MB / 0.7393 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2376, allocations: 0 / 0.7393 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2376, allocations: 0 / 0.7393 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.2376, allocations: 0 / 0.7393 GB, free: 6.266 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.003322/0.241, allocations: 2.091 MB / 0.7413 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.241, allocations: 8.031 kB / 0.7413 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007581/0.2418, allocations: 234.7 kB / 0.7415 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.2441, allocations: 1.517 MB / 0.743 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.2442, allocations: 85.94 kB / 0.7431 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.2443, allocations: 100 kB / 0.7432 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.2462, allocations: 1.1 MB / 0.7443 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.2462, allocations: 4 kB / 0.7443 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/0.2463, allocations: 39.98 kB / 0.7443 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.2463, allocations: 24 kB / 0.7443 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.2481, allocations: 0.8939 MB / 0.7452 GB, free: 20 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.2734/0.5215, allocations: 4.903 MB / 0.75 GB, free: 108 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.5229, allocations: 0.6185 MB / 0.7506 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000703/0.5237, allocations: 359.5 kB / 0.7509 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004509/0.5241, allocations: 0.829 MB / 0.7517 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.5242, allocations: 42.53 kB / 0.7518 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.615e-06/0.5242, allocations: 0 / 0.7518 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.004639/0.5288, allocations: 1.399 MB / 0.7531 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.5288, allocations: 62.66 kB / 0.7532 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.5307, allocations: 1.232 MB / 0.7544 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.451e-05/0.5308, allocations: 39.23 kB / 0.7544 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.5313, allocations: 0.6047 MB / 0.755 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.5315, allocations: 222.6 kB / 0.7553 GB, free: 105 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.5317, allocations: 155.9 kB / 0.7554 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.5318, allocations: 333.2 kB / 0.7557 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007091/0.5325, allocations: 291.8 kB / 0.756 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007375/0.5333, allocations: 495.1 kB / 0.7565 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.5346, allocations: 0.7105 MB / 0.7572 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5346, allocations: 0 / 0.7572 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004478/0.5391, allocations: 1.266 MB / 0.7584 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.5391, allocations: 6.938 kB / 0.7584 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.5391, allocations: 5.5 kB / 0.7584 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006739/0.5398, allocations: 155.6 kB / 0.7586 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.5404, allocations: 156.6 kB / 0.7587 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007266/0.5411, allocations: 0.7174 MB / 0.7594 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000947/0.5421, allocations: 116.8 kB / 0.7595 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/0.5422, allocations: 29.92 kB / 0.7595 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001204/0.5434, allocations: 0.5581 MB / 0.7601 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008653/0.5442, allocations: 489.8 kB / 0.7606 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001382/0.5456, allocations: 0.7 MB / 0.7612 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.5456, allocations: 3.734 kB / 0.7612 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004434/0.5501, allocations: 1.266 MB / 0.7625 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5501, allocations: 6.469 kB / 0.7625 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.5501, allocations: 3.719 kB / 0.7625 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.5507, allocations: 154.6 kB / 0.7626 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.5514, allocations: 155.3 kB / 0.7628 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006948/0.5521, allocations: 0.717 MB / 0.7635 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/0.5531, allocations: 100.6 kB / 0.7636 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/0.5531, allocations: 31.38 kB / 0.7636 GB, free: 100.7 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.0002281/0.5534, allocations: 229.2 kB / 0.7638 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.5536, allocations: 139.9 kB / 0.764 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.5579, allocations: 1.253 MB / 0.7652 GB, free: 99.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.5579, allocations: 7.312 kB / 0.7652 GB, free: 99.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5579, allocations: 0 / 0.7652 GB, free: 99.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003797/0.5617, allocations: 1.093 MB / 0.7663 GB, free: 99.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/0.5652, allocations: 2.32 MB / 0.7685 GB, free: 97.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.5653, allocations: 9.75 kB / 0.7685 GB, free: 97.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.5657, allocations: 110.8 kB / 0.7686 GB, free: 97.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004964/0.5662, allocations: 145.2 kB / 0.7688 GB, free: 97.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.5662, allocations: 19.7 kB / 0.7688 GB, free: 97.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000604/0.5668, allocations: 0.7056 MB / 0.7695 GB, free: 96.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5669, allocations: 4.125 kB / 0.7695 GB, free: 96.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.5691, allocations: 1.405 MB / 0.7709 GB, free: 96.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/0.5695, allocations: 306.9 kB / 0.7712 GB, free: 95.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.5697, allocations: 19.92 kB / 0.7712 GB, free: 95.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007219/0.5704, allocations: 51.72 kB / 0.7712 GB, free: 95.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.5705, allocations: 56.97 kB / 0.7713 GB, free: 95.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.5705, allocations: 35.77 kB / 0.7713 GB, free: 95.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008596/0.5714, allocations: 0.881 MB / 0.7722 GB, free: 95.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5714, allocations: 0 / 0.7722 GB, free: 95.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001405/0.5728, allocations: 0.7121 MB / 0.7729 GB, free: 95.12 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.0006679/0.5735, allocations: 469 kB / 0.7733 GB, free: 94.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.5756, allocations: 1.126 MB / 0.7744 GB, free: 94.42 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5756, allocations: 0 / 0.7744 GB, free: 94.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007368/0.5764, allocations: 403.3 kB / 0.7748 GB, free: 94.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/0.5793, allocations: 0.7999 MB / 0.7756 GB, free: 93.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.5819, allocations: 2.281 MB / 0.7778 GB, free: 92.26 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.5823, allocations: 1.176 MB / 0.779 GB, free: 91.05 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000774/0.5831, allocations: 309.8 kB / 0.7793 GB, free: 90.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.5833, allocations: 107.4 kB / 0.7794 GB, free: 90.66 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.5833, allocations: 3.938 kB / 0.7794 GB, free: 90.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.03527/0.6186, allocations: 32.22 MB / 0.8108 GB, free: 58.82 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)