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/Complex 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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(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/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6932/0.6932, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 403.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 105.8 kB / 484.4 MB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 59.91 kB / 0.5619 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1191, allocations: 80.2 MB / 0.6402 GB, free: 6.754 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3233/0.4425, allocations: 60.83 MB / 0.6996 GB, free: 25.99 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01516/0.4577, allocations: 12.05 MB / 0.7113 GB, free: 25.74 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.4599, allocations: 60.28 kB / 0.7114 GB, free: 25.74 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.4617, allocations: 0.5463 MB / 0.7119 GB, free: 25.73 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005361/0.4671, allocations: 1.796 MB / 0.7137 GB, free: 25.41 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.4704, allocations: 1.076 MB / 0.7147 GB, free: 25.26 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005538/0.4759, allocations: 3.92 MB / 0.7186 GB, free: 23.8 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.4776, allocations: 0.9404 MB / 0.7195 GB, free: 23.4 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.4803, allocations: 1.166 MB / 0.7206 GB, free: 22.93 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.4821, allocations: 0.8888 MB / 0.7215 GB, free: 22.61 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.4823, allocations: 55.97 kB / 0.7215 GB, free: 22.61 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003128/0.4854, allocations: 1.367 MB / 0.7229 GB, free: 22.22 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.4856, allocations: 234.2 kB / 0.7231 GB, free: 22.09 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007449/0.4864, allocations: 0.6378 MB / 0.7237 GB, free: 21.73 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003057/0.4895, allocations: 2.243 MB / 0.7259 GB, free: 21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4895, allocations: 1.219 kB / 0.7259 GB, free: 21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4895, allocations: 3.938 kB / 0.7259 GB, free: 21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.4895, allocations: 0 / 0.7259 GB, free: 21 MB / 490.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.003039/0.4926, allocations: 1.733 MB / 0.7276 GB, free: 19.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4926, allocations: 9.625 kB / 0.7276 GB, free: 19.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/0.4948, allocations: 406.8 kB / 0.728 GB, free: 19.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.4971, allocations: 1.121 MB / 0.7291 GB, free: 19.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003763/0.4975, allocations: 118.7 kB / 0.7292 GB, free: 19.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.4976, allocations: 79.69 kB / 0.7293 GB, free: 19.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.4999, allocations: 0.9854 MB / 0.7303 GB, free: 18.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.4999, allocations: 4.906 kB / 0.7303 GB, free: 18.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.5, allocations: 31.22 kB / 0.7303 GB, free: 18.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.406e-05/0.5001, allocations: 18.91 kB / 0.7303 GB, free: 18.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.5027, allocations: 0.8615 MB / 0.7311 GB, free: 17.93 MB / 490.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.005937/0.5087, allocations: 4.851 MB / 0.7359 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00346/0.5122, allocations: 0.8049 MB / 0.7367 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007329/0.5129, allocations: 305.6 kB / 0.737 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/0.5133, allocations: 0.9014 MB / 0.7378 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.5134, allocations: 52.59 kB / 0.7379 GB, free: 11.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=44): time 2.504e-06/0.5134, allocations: 1.312 kB / 0.7379 GB, free: 11.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=44): time 0.008543/0.5219, allocations: 1.928 MB / 0.7398 GB, free: 10.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.522, allocations: 57.16 kB / 0.7398 GB, free: 10.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.5234, allocations: 1.049 MB / 0.7409 GB, free: 10.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.5234, allocations: 38.92 kB / 0.7409 GB, free: 10.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.5237, allocations: 0.5168 MB / 0.7414 GB, free: 9.836 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.668e-05/0.5238, allocations: 159.9 kB / 0.7415 GB, free: 9.699 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.524, allocations: 131.3 kB / 0.7417 GB, free: 9.617 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.5241, allocations: 324.7 kB / 0.742 GB, free: 9.301 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009077/0.525, allocations: 304 kB / 0.7423 GB, free: 9.152 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.5261, allocations: 0.5091 MB / 0.7428 GB, free: 8.746 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.5276, allocations: 0.6775 MB / 0.7434 GB, free: 8.309 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.5276, allocations: 0 / 0.7434 GB, free: 8.309 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002529/0.5301, allocations: 0.9953 MB / 0.7444 GB, free: 7.797 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5302, allocations: 7.094 kB / 0.7444 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.5302, allocations: 5.344 kB / 0.7444 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.5315, allocations: 321.9 kB / 0.7447 GB, free: 7.652 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.532, allocations: 122.8 kB / 0.7448 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.5334, allocations: 0.9014 MB / 0.7457 GB, free: 6.898 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.5348, allocations: 183.4 kB / 0.7459 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/0.5349, allocations: 33.27 kB / 0.7459 GB, free: 6.789 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001181/0.5361, allocations: 0.5052 MB / 0.7464 GB, free: 6.484 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009633/0.5371, allocations: 0.4999 MB / 0.7469 GB, free: 6.082 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001489/0.5386, allocations: 0.6707 MB / 0.7476 GB, free: 5.648 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.559e-06/0.5386, allocations: 0.625 kB / 0.7476 GB, free: 5.648 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002555/0.5411, allocations: 0.978 MB / 0.7485 GB, free: 4.898 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5412, allocations: 11.94 kB / 0.7485 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5412, allocations: 4.438 kB / 0.7485 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.5423, allocations: 314.8 kB / 0.7488 GB, free: 4.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.5427, allocations: 115.8 kB / 0.7489 GB, free: 4.461 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.544, allocations: 0.9074 MB / 0.7498 GB, free: 3.527 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.5455, allocations: 157.8 kB / 0.75 GB, free: 3.375 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/0.5456, allocations: 27.98 kB / 0.75 GB, free: 3.348 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.00021/0.5458, allocations: 217.4 kB / 0.7502 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.5461, allocations: 110.6 kB / 0.7503 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/0.5498, allocations: 1.112 MB / 0.7514 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.5499, allocations: 4 kB / 0.7514 GB, free: 1.887 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.5499, allocations: 7.938 kB / 0.7514 GB, free: 1.879 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5499, allocations: 3.984 kB / 0.7514 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/0.5552, allocations: 2.194 MB / 0.7536 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.5553, allocations: 4 kB / 0.7536 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.5556, allocations: 63.94 kB / 0.7536 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.5567, allocations: 316.6 kB / 0.7539 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.5568, allocations: 15.98 kB / 0.7539 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.5584, allocations: 0.94 MB / 0.7549 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.5584, allocations: 7.938 kB / 0.7549 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005346/0.5637, allocations: 2.282 MB / 0.7571 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006422/0.5644, allocations: 263.5 kB / 0.7574 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.5647, allocations: 11.94 kB / 0.7574 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.5658, allocations: 99.8 kB / 0.7575 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.5659, allocations: 31.95 kB / 0.7575 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/0.5659, allocations: 23.98 kB / 0.7575 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001698/0.5677, allocations: 0.7389 MB / 0.7582 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5677, allocations: 4 kB / 0.7582 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002907/0.5706, allocations: 0.5769 MB / 0.7588 GB, free: 10.11 MB / 0.4948 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.001052/0.5716, allocations: 399.3 kB / 0.7592 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003324/0.575, allocations: 1.102 MB / 0.7603 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.575, allocations: 0 / 0.7603 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009307/0.5759, allocations: 354.4 kB / 0.7606 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/0.5788, allocations: 0.4895 MB / 0.7611 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006428/0.5853, allocations: 2.74 MB / 0.7637 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007921/0.5861, allocations: 1.092 MB / 0.7648 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001106/0.5872, allocations: 220.6 kB / 0.765 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.5874, allocations: 75.42 kB / 0.7651 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.5875, allocations: 0 / 0.7651 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of Templates: time 0.03993/0.6274, allocations: 24.61 MB / 0.7891 GB, free: 11.29 MB / 0.5261 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)