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.001484/0.001484, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001822/0.001823, allocations: 191 kB / 16.91 MB, free: 6.195 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.323/1.323, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7444/0.7444, allocations: 122.9 MB / 413.6 MB, free: 60 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001353, allocations: 63.91 kB / 0.4906 GB, free: 7.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3583, allocations: 77.92 MB / 0.5667 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05198/0.4103, allocations: 60.67 MB / 0.6259 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01744/0.4278, allocations: 11.91 MB / 0.6376 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002621/0.4304, allocations: 55.62 kB / 0.6376 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.4327, allocations: 0.579 MB / 0.6382 GB, free: 1.637 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.4388, allocations: 1.838 MB / 0.64 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.4421, allocations: 1.095 MB / 0.641 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004459/0.4466, allocations: 3.105 MB / 0.6441 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.4486, allocations: 1.102 MB / 0.6451 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003652/0.4523, allocations: 1.334 MB / 0.6464 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.4541, allocations: 0.9334 MB / 0.6474 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004572/0.4546, allocations: 116 kB / 0.6475 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.4583, allocations: 1.47 MB / 0.6489 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005575/0.4589, allocations: 286.9 kB / 0.6492 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.4604, allocations: 0.6997 MB / 0.6499 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004619/0.465, allocations: 2.298 MB / 0.6521 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.465, allocations: 0 / 0.6521 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.465, allocations: 0 / 0.6521 GB, free: 3.316 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.752e-05/0.4651, allocations: 0 / 0.6521 GB, free: 3.316 MB / 494.1 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.003905/0.469, allocations: 1.723 MB / 0.6538 GB, free: 1.531 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.469, allocations: 12.62 kB / 0.6538 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.4712, allocations: 402.8 kB / 0.6542 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.4733, allocations: 1.136 MB / 0.6553 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000365/0.4737, allocations: 113.9 kB / 0.6554 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.4738, allocations: 87.94 kB / 0.6555 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.4758, allocations: 0.9856 MB / 0.6565 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.4759, allocations: 3.938 kB / 0.6565 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-05/0.4759, allocations: 32 kB / 0.6565 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.476, allocations: 16 kB / 0.6565 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.4782, allocations: 0.8665 MB / 0.6573 GB, free: 13.78 MB / 0.4981 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.006379/0.4846, allocations: 4.855 MB / 0.6621 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003236/0.4879, allocations: 0.7963 MB / 0.6629 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/0.4886, allocations: 300.7 kB / 0.6632 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007075/0.4893, allocations: 0.9063 MB / 0.664 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.4893, allocations: 42.56 kB / 0.6641 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 3.206e-06/0.4894, allocations: 7.922 kB / 0.6641 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.008554/0.4979, allocations: 1.934 MB / 0.666 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.498, allocations: 55.41 kB / 0.666 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.4995, allocations: 1.055 MB / 0.6671 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.4996, allocations: 33.7 kB / 0.6671 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.5, allocations: 0.5196 MB / 0.6676 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.5001, allocations: 153.8 kB / 0.6677 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.5003, allocations: 134 kB / 0.6679 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5005, allocations: 330 kB / 0.6682 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008384/0.5013, allocations: 302.9 kB / 0.6685 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.5024, allocations: 0.5059 MB / 0.669 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.504, allocations: 0.6818 MB / 0.6696 GB, free: 416 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.504, allocations: 4 kB / 0.6696 GB, free: 412 kB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002651/0.5067, allocations: 0.9804 MB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.5067, allocations: 8 kB / 0.6706 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5067, allocations: 4 kB / 0.6706 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.508, allocations: 321 kB / 0.6709 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.5085, allocations: 115.8 kB / 0.671 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.5099, allocations: 0.919 MB / 0.6719 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.5112, allocations: 167.3 kB / 0.6721 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/0.5113, allocations: 31.98 kB / 0.6721 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001188/0.5125, allocations: 0.5088 MB / 0.6726 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001036/0.5136, allocations: 0.502 MB / 0.6731 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001584/0.5151, allocations: 0.667 MB / 0.6737 GB, free: 12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.118e-06/0.5152, allocations: 4 kB / 0.6738 GB, free: 12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002648/0.5178, allocations: 0.9728 MB / 0.6747 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.5178, allocations: 11.94 kB / 0.6747 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5179, allocations: 4 kB / 0.6747 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.519, allocations: 308.8 kB / 0.675 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.5195, allocations: 123.8 kB / 0.6751 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.5209, allocations: 0.9173 MB / 0.676 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.5223, allocations: 151.6 kB / 0.6762 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.5223, allocations: 27.98 kB / 0.6762 GB, free: 9.457 MB / 0.5137 GB 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.0002423/0.5226, allocations: 220.1 kB / 0.6764 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.5228, allocations: 110.6 kB / 0.6765 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/0.5265, allocations: 1.112 MB / 0.6776 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.5265, allocations: 11.98 kB / 0.6776 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.5265, allocations: 3.938 kB / 0.6776 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5266, allocations: 0 / 0.6776 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005113/0.5317, allocations: 2.195 MB / 0.6798 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.5317, allocations: 7.938 kB / 0.6798 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.532, allocations: 72.16 kB / 0.6798 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.5331, allocations: 314.8 kB / 0.6801 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.5331, allocations: 11.98 kB / 0.6801 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.5346, allocations: 0.9387 MB / 0.6811 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5346, allocations: 4 kB / 0.6811 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/0.5384, allocations: 1.189 MB / 0.6822 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004905/0.5389, allocations: 267.5 kB / 0.6825 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.539, allocations: 12 kB / 0.6825 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008954/0.5399, allocations: 91.89 kB / 0.6826 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/0.5401, allocations: 39.89 kB / 0.6826 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.5401, allocations: 23.98 kB / 0.6826 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001166/0.5413, allocations: 0.7428 MB / 0.6834 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5413, allocations: 0 / 0.6834 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001678/0.543, allocations: 0.5613 MB / 0.6839 GB, free: 1.344 MB / 0.5137 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.0008978/0.5439, allocations: 385 kB / 0.6843 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003238/0.5471, allocations: 1.136 MB / 0.6854 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5472, allocations: 0 / 0.6854 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008922/0.5481, allocations: 342.5 kB / 0.6857 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.5504, allocations: 0.5137 MB / 0.6862 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/0.5558, allocations: 2.436 MB / 0.6886 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.5564, allocations: 1.069 MB / 0.6896 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009157/0.5573, allocations: 217.9 kB / 0.6899 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.5575, allocations: 83.36 kB / 0.6899 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.5575, allocations: 0 / 0.6899 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of Templates: time 0.04084/0.5984, allocations: 24.71 MB / 0.7141 GB, free: 2.707 MB / 0.545 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)