Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.006336/0.006336, allocations: 100.5 kB / 15.73 MB, free: 6.496 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.001385/0.001385, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7543/0.7543, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 68.14 kB / 0.5814 GB, free: 7.527 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3965, allocations: 80.2 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05367/0.4502, allocations: 61.19 MB / 0.7195 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.4669, allocations: 11.98 MB / 0.7312 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004602/0.4715, allocations: 59.62 kB / 0.7312 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00346/0.475, allocations: 0.6752 MB / 0.7319 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007906/0.483, allocations: 1.965 MB / 0.7338 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003272/0.4863, allocations: 1.213 MB / 0.735 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003954/0.4903, allocations: 3.077 MB / 0.738 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.4916, allocations: 1.108 MB / 0.7391 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/0.4944, allocations: 1.331 MB / 0.7404 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.4956, allocations: 0.8919 MB / 0.7412 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.4957, allocations: 112 kB / 0.7413 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.4984, allocations: 1.454 MB / 0.7428 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.4987, allocations: 298.8 kB / 0.743 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006645/0.4994, allocations: 0.692 MB / 0.7437 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003053/0.5025, allocations: 2.333 MB / 0.746 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.5025, allocations: 0 / 0.746 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5025, allocations: 0 / 0.746 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.5025, allocations: 0 / 0.746 GB, free: 13.64 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002516/0.505, allocations: 1.779 MB / 0.7477 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.5051, allocations: 8.031 kB / 0.7477 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.507, allocations: 423.3 kB / 0.7482 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.5089, allocations: 1.164 MB / 0.7493 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.5089, allocations: 62 kB / 0.7493 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.5091, allocations: 80 kB / 0.7494 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.5109, allocations: 1.015 MB / 0.7504 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.5109, allocations: 7.875 kB / 0.7504 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/0.511, allocations: 32 kB / 0.7505 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.511, allocations: 20 kB / 0.7505 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.513, allocations: 0.8625 MB / 0.7513 GB, free: 8.023 MB / 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.005468/0.5185, allocations: 5.237 MB / 0.7564 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.5216, allocations: 0.7845 MB / 0.7572 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006564/0.5222, allocations: 299.8 kB / 0.7575 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005657/0.5228, allocations: 0.9102 MB / 0.7584 GB, free: 224 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.5228, allocations: 38.56 kB / 0.7584 GB, free: 176 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 1.953e-06/0.5228, allocations: 0 / 0.7584 GB, free: 176 kB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.00766/0.5305, allocations: 1.865 MB / 0.7602 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.5306, allocations: 55.41 kB / 0.7603 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.532, allocations: 1.076 MB / 0.7613 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/0.5321, allocations: 37.7 kB / 0.7614 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.5325, allocations: 0.5397 MB / 0.7619 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.5326, allocations: 154.6 kB / 0.762 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.5329, allocations: 146.2 kB / 0.7622 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.533, allocations: 326 kB / 0.7625 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008207/0.5338, allocations: 311.2 kB / 0.7628 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009759/0.5348, allocations: 0.529 MB / 0.7633 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.5364, allocations: 0.7153 MB / 0.764 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.5364, allocations: 3.938 kB / 0.764 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003433/0.5398, allocations: 1.146 MB / 0.7651 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.5398, allocations: 8 kB / 0.7651 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.5399, allocations: 12.05 kB / 0.7651 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.5411, allocations: 311.4 kB / 0.7654 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.5416, allocations: 131.8 kB / 0.7656 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.543, allocations: 0.9035 MB / 0.7665 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.5442, allocations: 147.5 kB / 0.7666 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.5442, allocations: 31.98 kB / 0.7666 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001187/0.5454, allocations: 0.509 MB / 0.7671 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009848/0.5464, allocations: 0.5342 MB / 0.7676 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00153/0.548, allocations: 0.7135 MB / 0.7683 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.548, allocations: 0 / 0.7683 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003288/0.5513, allocations: 1.13 MB / 0.7694 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.5513, allocations: 8 kB / 0.7694 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5513, allocations: 4 kB / 0.7695 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.5524, allocations: 304.7 kB / 0.7697 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.5529, allocations: 131.7 kB / 0.7699 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.5542, allocations: 0.8988 MB / 0.7707 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.5554, allocations: 139.6 kB / 0.7709 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/0.5555, allocations: 27.98 kB / 0.7709 GB, free: 2.887 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0002266/0.5557, allocations: 224.1 kB / 0.7711 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/0.556, allocations: 119.2 kB / 0.7712 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003534/0.5595, allocations: 1.101 MB / 0.7723 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.5595, allocations: 11.98 kB / 0.7723 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.5595, allocations: 0 / 0.7723 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.5596, allocations: 3.984 kB / 0.7723 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005029/0.5646, allocations: 2.176 MB / 0.7744 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.5646, allocations: 0 / 0.7744 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.5649, allocations: 71.83 kB / 0.7745 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009264/0.5658, allocations: 303.3 kB / 0.7748 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.5659, allocations: 8 kB / 0.7748 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.5672, allocations: 0.9309 MB / 0.7757 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5672, allocations: 4 kB / 0.7757 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.5705, allocations: 1.186 MB / 0.7769 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.571, allocations: 272.1 kB / 0.7771 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.5712, allocations: 12 kB / 0.7772 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008575/0.5721, allocations: 71.91 kB / 0.7772 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.5722, allocations: 35.89 kB / 0.7773 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.267e-05/0.5722, allocations: 23.98 kB / 0.7773 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001169/0.5734, allocations: 0.7551 MB / 0.778 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5734, allocations: 0 / 0.778 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001547/0.575, allocations: 0.5731 MB / 0.7786 GB, free: 10.82 MB / 0.6075 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.0008254/0.5758, allocations: 396.3 kB / 0.779 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003079/0.5789, allocations: 1.133 MB / 0.7801 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5789, allocations: 0 / 0.7801 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008541/0.5798, allocations: 342 kB / 0.7804 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.582, allocations: 0.5141 MB / 0.7809 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/0.5871, allocations: 2.065 MB / 0.7829 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006629/0.5878, allocations: 1.061 MB / 0.7839 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000889/0.5887, allocations: 224.4 kB / 0.7842 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.5889, allocations: 75.42 kB / 0.7842 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.5889, allocations: 0 / 0.7842 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of Templates: time 0.03687/0.6258, allocations: 25.28 MB / 0.8089 GB, free: 12 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)