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.0009926/0.0009928, allocations: 96.03 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009435/0.0009435, allocations: 176.1 kB / 16.57 MB, free: 6.387 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.288/1.288, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6545/0.6545, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004986, allocations: 8.594 kB / 493 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1501, allocations: 77.15 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3126/0.4627, allocations: 62.96 MB / 0.6183 GB, free: 204 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01743/0.4802, allocations: 13 MB / 0.631 GB, free: 6.973 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.4826, allocations: 53.16 kB / 0.6311 GB, free: 6.949 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002906/0.4855, allocations: 0.7451 MB / 0.6318 GB, free: 6.527 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008752/0.4943, allocations: 2.416 MB / 0.6341 GB, free: 4.746 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004768/0.4991, allocations: 1.525 MB / 0.6356 GB, free: 3.738 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005027/0.5041, allocations: 2.517 MB / 0.6381 GB, free: 2.074 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.5058, allocations: 1.041 MB / 0.6391 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/0.5082, allocations: 1.164 MB / 0.6402 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.5094, allocations: 0.7898 MB / 0.641 GB, free: 264 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.5095, allocations: 55.78 kB / 0.6411 GB, free: 264 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.5118, allocations: 0.8528 MB / 0.6419 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.5121, allocations: 262.9 kB / 0.6422 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.5125, allocations: 355.2 kB / 0.6425 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.5148, allocations: 2.031 MB / 0.6445 GB, free: 14.1 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5148, allocations: 0 / 0.6445 GB, free: 14.1 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5148, allocations: 0 / 0.6445 GB, free: 14.1 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.392e-05/0.5148, allocations: 4 kB / 0.6445 GB, free: 14.1 MB / 478.1 MB 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.00308/0.5179, allocations: 1.791 MB / 0.6462 GB, free: 12.73 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.5179, allocations: 9.75 kB / 0.6462 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007269/0.5187, allocations: 236 kB / 0.6465 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.521, allocations: 1.385 MB / 0.6478 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/0.5211, allocations: 77.19 kB / 0.6479 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.5212, allocations: 104.8 kB / 0.648 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.5231, allocations: 1.106 MB / 0.6491 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.5231, allocations: 2.781 kB / 0.6491 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.487e-05/0.5232, allocations: 41.78 kB / 0.6491 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.5232, allocations: 29.33 kB / 0.6491 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.525, allocations: 0.9253 MB / 0.65 GB, free: 10.28 MB / 478.1 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.005621/0.5306, allocations: 4.962 MB / 0.6549 GB, free: 5.043 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.532, allocations: 0.6525 MB / 0.6555 GB, free: 4.387 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/0.5326, allocations: 0.8238 MB / 0.6563 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.5326, allocations: 55.02 kB / 0.6564 GB, free: 3.316 MB / 478.1 MB Notification: Performance of pre-optimization done (n=62): time 2.274e-06/0.5326, allocations: 0 / 0.6564 GB, free: 3.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=62): time 0.004656/0.5373, allocations: 1.515 MB / 0.6579 GB, free: 1.777 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.5373, allocations: 55.97 kB / 0.6579 GB, free: 1.711 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.5388, allocations: 1.249 MB / 0.6591 GB, free: 456 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.548e-05/0.5389, allocations: 41.7 kB / 0.6592 GB, free: 408 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004622/0.5394, allocations: 0.5988 MB / 0.6598 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.5396, allocations: 212.9 kB / 0.66 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.5396, allocations: 19.94 kB / 0.66 GB, free: 15.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5397, allocations: 337.9 kB / 0.6603 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000625/0.5404, allocations: 293.8 kB / 0.6606 GB, free: 14.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007801/0.5412, allocations: 0.496 MB / 0.6611 GB, free: 14.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007048/0.5419, allocations: 363 kB / 0.6614 GB, free: 14.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5419, allocations: 3.938 kB / 0.6614 GB, free: 14.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004488/0.5464, allocations: 1.394 MB / 0.6628 GB, free: 12.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005637/0.547, allocations: 1.335 MB / 0.6641 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.547, allocations: 4 kB / 0.6641 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006568/0.5477, allocations: 160.7 kB / 0.6642 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.5483, allocations: 163.8 kB / 0.6644 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009296/0.5492, allocations: 0.724 MB / 0.6651 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.5508, allocations: 170.9 kB / 0.6653 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.5509, allocations: 35.98 kB / 0.6653 GB, free: 9.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.5509, allocations: 4 kB / 0.6653 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005095/0.556, allocations: 1.245 MB / 0.6665 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5561, allocations: 4 kB / 0.6665 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006958/0.5568, allocations: 157.1 kB / 0.6667 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006861/0.5575, allocations: 167.7 kB / 0.6668 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000956/0.5584, allocations: 0.7233 MB / 0.6675 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.5599, allocations: 163.2 kB / 0.6677 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.104e-05/0.56, allocations: 31.98 kB / 0.6677 GB, free: 7.398 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009846/0.561, allocations: 424.8 kB / 0.6681 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/0.5614, allocations: 138.3 kB / 0.6683 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0049/0.5663, allocations: 1.389 MB / 0.6696 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.5663, allocations: 12 kB / 0.6696 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.5663, allocations: 0 / 0.6696 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004088/0.5704, allocations: 1.209 MB / 0.6708 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/0.5748, allocations: 2.387 MB / 0.6731 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.495e-06/0.5748, allocations: 4 kB / 0.6732 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.5753, allocations: 120.3 kB / 0.6733 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005734/0.5759, allocations: 160.6 kB / 0.6734 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.5759, allocations: 20 kB / 0.6734 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007651/0.5767, allocations: 0.7056 MB / 0.6741 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5767, allocations: 7.938 kB / 0.6741 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.5796, allocations: 1.672 MB / 0.6758 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007714/0.5804, allocations: 347 kB / 0.6761 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/0.5807, allocations: 24 kB / 0.6761 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.5818, allocations: 95.81 kB / 0.6762 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.5819, allocations: 56.27 kB / 0.6763 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-05/0.582, allocations: 31.97 kB / 0.6763 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001256/0.5833, allocations: 0.8974 MB / 0.6772 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5833, allocations: 0 / 0.6772 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0021/0.5854, allocations: 0.7174 MB / 0.6779 GB, free: 12.56 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008969/0.5863, allocations: 454.2 kB / 0.6783 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002583/0.5889, allocations: 1.16 MB / 0.6794 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5889, allocations: 0 / 0.6794 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000919/0.5898, allocations: 419.2 kB / 0.6798 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/0.5933, allocations: 0.7517 MB / 0.6806 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/0.5976, allocations: 2.773 MB / 0.6833 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000771/0.5984, allocations: 1.204 MB / 0.6845 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001269/0.5996, allocations: 311 kB / 0.6848 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.5999, allocations: 103.4 kB / 0.6849 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.5999, allocations: 0 / 0.6849 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.04521/0.6451, allocations: 29.89 MB / 0.714 GB, free: 7.789 MB / 0.5294 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)