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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5333/0.5333, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009164/0.0009164, allocations: 109.7 kB / 420 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 47.92 kB / 0.4891 GB, free: 7.676 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3158, allocations: 70.07 MB / 0.5575 GB, free: 44.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04428/0.3602, allocations: 60.82 MB / 0.6169 GB, free: 160 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0157/0.3759, allocations: 12.05 MB / 0.6287 GB, free: 4.074 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.378, allocations: 59.62 kB / 0.6287 GB, free: 4.016 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.3798, allocations: 0.5399 MB / 0.6292 GB, free: 3.473 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00498/0.3848, allocations: 1.804 MB / 0.631 GB, free: 1.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.3877, allocations: 1.074 MB / 0.632 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004544/0.3923, allocations: 3.933 MB / 0.6359 GB, free: 12.65 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.3938, allocations: 0.9373 MB / 0.6368 GB, free: 11.69 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.3963, allocations: 1.163 MB / 0.6379 GB, free: 10.52 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.3976, allocations: 0.8943 MB / 0.6388 GB, free: 9.621 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.3978, allocations: 56 kB / 0.6389 GB, free: 9.566 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.4003, allocations: 1.368 MB / 0.6402 GB, free: 8.195 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.4006, allocations: 234.9 kB / 0.6404 GB, free: 7.965 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006963/0.4013, allocations: 0.6372 MB / 0.641 GB, free: 7.324 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.4039, allocations: 2.244 MB / 0.6432 GB, free: 5.074 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.404, allocations: 4 kB / 0.6432 GB, free: 5.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.404, allocations: 0 / 0.6432 GB, free: 5.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.404, allocations: 0 / 0.6432 GB, free: 5.07 MB / 458.7 MB 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.002834/0.4068, allocations: 1.722 MB / 0.6449 GB, free: 3.285 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.4069, allocations: 12.03 kB / 0.6449 GB, free: 3.273 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.4089, allocations: 406.8 kB / 0.6453 GB, free: 2.875 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.4109, allocations: 1.128 MB / 0.6464 GB, free: 1.691 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/0.4112, allocations: 121.9 kB / 0.6465 GB, free: 1.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.4114, allocations: 83.98 kB / 0.6466 GB, free: 1.488 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.4132, allocations: 0.9817 MB / 0.6476 GB, free: 476 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.4133, allocations: 0 / 0.6476 GB, free: 476 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.4133, allocations: 32 kB / 0.6476 GB, free: 444 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.4134, allocations: 20 kB / 0.6476 GB, free: 424 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.4156, allocations: 0.8703 MB / 0.6485 GB, free: 15.54 MB / 474.7 MB 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.006627/0.4223, allocations: 4.844 MB / 0.6532 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.4255, allocations: 0.7898 MB / 0.654 GB, free: 9.547 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007099/0.4263, allocations: 300.7 kB / 0.6543 GB, free: 9.25 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/0.4269, allocations: 0.9142 MB / 0.6552 GB, free: 8.133 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4269, allocations: 34.56 kB / 0.6552 GB, free: 8.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=44): time 2.605e-06/0.4269, allocations: 0 / 0.6552 GB, free: 8.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=44): time 0.008235/0.4352, allocations: 1.934 MB / 0.6571 GB, free: 6.125 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.4352, allocations: 59.36 kB / 0.6571 GB, free: 6.055 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.4368, allocations: 1.051 MB / 0.6582 GB, free: 4.988 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/0.4369, allocations: 37.7 kB / 0.6582 GB, free: 4.945 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.4373, allocations: 0.5197 MB / 0.6587 GB, free: 4.422 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.4374, allocations: 153.8 kB / 0.6589 GB, free: 4.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.4377, allocations: 130 kB / 0.659 GB, free: 4.133 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.4378, allocations: 330 kB / 0.6593 GB, free: 3.805 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008518/0.4386, allocations: 306.9 kB / 0.6596 GB, free: 3.504 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009887/0.4396, allocations: 0.5098 MB / 0.6601 GB, free: 2.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.4412, allocations: 0.6818 MB / 0.6608 GB, free: 2.172 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.4412, allocations: 0 / 0.6608 GB, free: 2.172 MB / 474.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002584/0.4438, allocations: 0.992 MB / 0.6617 GB, free: 1.168 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4438, allocations: 8 kB / 0.6617 GB, free: 1.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.4439, allocations: 4 kB / 0.6617 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.4451, allocations: 317 kB / 0.662 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.4456, allocations: 123.8 kB / 0.6622 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.447, allocations: 0.9107 MB / 0.663 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.4483, allocations: 171.2 kB / 0.6632 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/0.4483, allocations: 39.92 kB / 0.6632 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001125/0.4495, allocations: 0.501 MB / 0.6637 GB, free: 15.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009681/0.4505, allocations: 0.5059 MB / 0.6642 GB, free: 14.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001519/0.452, allocations: 0.6709 MB / 0.6649 GB, free: 13.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.846e-06/0.452, allocations: 0 / 0.6649 GB, free: 13.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002522/0.4545, allocations: 0.9763 MB / 0.6658 GB, free: 12.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4546, allocations: 11.94 kB / 0.6658 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4546, allocations: 4 kB / 0.6659 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.4557, allocations: 317 kB / 0.6662 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.4562, allocations: 119.8 kB / 0.6663 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.4575, allocations: 0.9074 MB / 0.6672 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.4587, allocations: 155.6 kB / 0.6673 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.4588, allocations: 27.98 kB / 0.6673 GB, free: 11.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0002179/0.459, allocations: 216.1 kB / 0.6675 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.4592, allocations: 110.6 kB / 0.6676 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/0.4629, allocations: 1.115 MB / 0.6687 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.463, allocations: 4 kB / 0.6687 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.463, allocations: 7.922 kB / 0.6687 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.463, allocations: 8 kB / 0.6687 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005206/0.4682, allocations: 2.179 MB / 0.6709 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.4682, allocations: 8.031 kB / 0.6709 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.4685, allocations: 71.89 kB / 0.671 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.4695, allocations: 306.2 kB / 0.6712 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.4696, allocations: 23.92 kB / 0.6713 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.471, allocations: 0.9387 MB / 0.6722 GB, free: 6.102 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.471, allocations: 4 kB / 0.6722 GB, free: 6.098 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005243/0.4763, allocations: 2.278 MB / 0.6744 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007035/0.477, allocations: 259.5 kB / 0.6747 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/0.4773, allocations: 15.94 kB / 0.6747 GB, free: 3.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.4784, allocations: 99.8 kB / 0.6748 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/0.4785, allocations: 39.88 kB / 0.6748 GB, free: 3.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-05/0.4786, allocations: 23.98 kB / 0.6748 GB, free: 3.281 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001276/0.4798, allocations: 0.7389 MB / 0.6756 GB, free: 2.535 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4799, allocations: 0 / 0.6756 GB, free: 2.535 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001913/0.4818, allocations: 0.577 MB / 0.6761 GB, free: 1.957 MB / 490.7 MB 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.00083/0.4826, allocations: 396.5 kB / 0.6765 GB, free: 1.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003031/0.4857, allocations: 1.094 MB / 0.6776 GB, free: 488 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.4857, allocations: 4 kB / 0.6776 GB, free: 484 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008533/0.4865, allocations: 351.1 kB / 0.6779 GB, free: 136 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.4889, allocations: 0.4981 MB / 0.6784 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005443/0.4944, allocations: 2.74 MB / 0.6811 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006424/0.495, allocations: 1.077 MB / 0.6821 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009683/0.496, allocations: 224.6 kB / 0.6823 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.4962, allocations: 79.41 kB / 0.6824 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.4963, allocations: 0 / 0.6824 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.03834/0.5346, allocations: 24.62 MB / 0.7064 GB, free: 3.035 MB / 0.5105 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)