Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 98.88 kB / 16.02 MB, free: 76 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.001819/0.001819, allocations: 185.3 kB / 16.92 MB, free: 6.777 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.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9562/0.9562, allocations: 135.3 MB / 427.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 9.031 kB / 0.5082 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1748, allocations: 82.31 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.4252/0.6001, allocations: 73.45 MB / 0.6603 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02246/0.6226, allocations: 15.03 MB / 0.675 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003818/0.6265, allocations: 61 kB / 0.6751 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.6296, allocations: 0.673 MB / 0.6757 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008934/0.6386, allocations: 2.375 MB / 0.6781 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.6431, allocations: 1.263 MB / 0.6793 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009956/0.653, allocations: 5.561 MB / 0.6847 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003134/0.6562, allocations: 1.151 MB / 0.6858 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004493/0.6607, allocations: 1.337 MB / 0.6872 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003534/0.6643, allocations: 1.139 MB / 0.6883 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005849/0.6649, allocations: 56.41 kB / 0.6883 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004663/0.6696, allocations: 1.246 MB / 0.6895 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007976/0.6704, allocations: 284.6 kB / 0.6898 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001973/0.6724, allocations: 0.8035 MB / 0.6906 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004201/0.6766, allocations: 2.152 MB / 0.6927 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.6766, allocations: 1.125 kB / 0.6927 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6767, allocations: 0 / 0.6927 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.618e-05/0.6767, allocations: 0 / 0.6927 GB, free: 4.711 MB / 0.5137 GB 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.004816/0.6815, allocations: 1.789 MB / 0.6944 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.6816, allocations: 9.531 kB / 0.6944 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.6826, allocations: 246.9 kB / 0.6947 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/0.6861, allocations: 1.483 MB / 0.6961 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.458e-05/0.6863, allocations: 76.78 kB / 0.6962 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.6865, allocations: 106 kB / 0.6963 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.6894, allocations: 1.12 MB / 0.6974 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.6894, allocations: 1.859 kB / 0.6974 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.6895, allocations: 41.81 kB / 0.6974 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/0.6896, allocations: 25.3 kB / 0.6975 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.692, allocations: 0.9304 MB / 0.6984 GB, free: 1.621 MB / 0.5137 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.008372/0.7003, allocations: 4.912 MB / 0.7032 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.702, allocations: 0.6439 MB / 0.7038 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008107/0.7028, allocations: 370.7 kB / 0.7042 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.7038, allocations: 0.8231 MB / 0.705 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.7039, allocations: 49.92 kB / 0.705 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 4.097e-06/0.7039, allocations: 0 / 0.705 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.008098/0.712, allocations: 1.901 MB / 0.7069 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/0.7121, allocations: 58.97 kB / 0.7069 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.715, allocations: 1.213 MB / 0.7081 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001712/0.7152, allocations: 38.98 kB / 0.7081 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007942/0.716, allocations: 0.6159 MB / 0.7087 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.7163, allocations: 207.3 kB / 0.7089 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.7165, allocations: 67.52 kB / 0.709 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.7167, allocations: 336 kB / 0.7093 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008195/0.7175, allocations: 298.2 kB / 0.7096 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.7186, allocations: 0.5083 MB / 0.7101 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.7205, allocations: 0.7562 MB / 0.7108 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.7205, allocations: 4.969 kB / 0.7108 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005721/0.7262, allocations: 1.4 MB / 0.7122 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000238/0.7265, allocations: 200.8 kB / 0.7124 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.7265, allocations: 3.094 kB / 0.7124 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006575/0.7271, allocations: 150.1 kB / 0.7126 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.7278, allocations: 164 kB / 0.7127 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009859/0.7288, allocations: 0.7154 MB / 0.7134 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.7306, allocations: 167.6 kB / 0.7136 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.7307, allocations: 35.27 kB / 0.7136 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.7308, allocations: 6.469 kB / 0.7136 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00482/0.7356, allocations: 1.256 MB / 0.7148 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.7356, allocations: 7.906 kB / 0.7148 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005491/0.7362, allocations: 153.5 kB / 0.715 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.7368, allocations: 160.4 kB / 0.7151 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008852/0.7377, allocations: 0.7191 MB / 0.7158 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.7393, allocations: 159.5 kB / 0.716 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.965e-05/0.7394, allocations: 31.36 kB / 0.716 GB, free: 6.434 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0008797/0.7403, allocations: 422.7 kB / 0.7164 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004767/0.7408, allocations: 139.4 kB / 0.7166 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005116/0.7459, allocations: 1.404 MB / 0.7179 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.7459, allocations: 11.62 kB / 0.7179 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.7459, allocations: 0 / 0.7179 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004417/0.7504, allocations: 1.233 MB / 0.7191 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008189/0.7586, allocations: 2.742 MB / 0.7218 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.7586, allocations: 4 kB / 0.7218 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.7592, allocations: 124.3 kB / 0.7219 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/0.7597, allocations: 133.3 kB / 0.7221 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/0.7598, allocations: 19.98 kB / 0.7221 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005184/0.765, allocations: 2.482 MB / 0.7245 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.765, allocations: 7.938 kB / 0.7245 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/0.7711, allocations: 1.856 MB / 0.7263 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.7722, allocations: 327.1 kB / 0.7267 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005096/0.7727, allocations: 19.98 kB / 0.7267 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.7741, allocations: 103.8 kB / 0.7268 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.7743, allocations: 56.25 kB / 0.7268 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.55e-05/0.7744, allocations: 35.97 kB / 0.7269 GB, free: 13.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001668/0.7761, allocations: 0.8662 MB / 0.7277 GB, free: 12.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7761, allocations: 0 / 0.7277 GB, free: 12.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00315/0.7792, allocations: 0.7057 MB / 0.7284 GB, free: 11.86 MB / 0.545 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 (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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.7804, allocations: 449.1 kB / 0.7288 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003094/0.7836, allocations: 1.172 MB / 0.73 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.7836, allocations: 3.938 kB / 0.73 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.7852, allocations: 0.5993 MB / 0.7306 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005302/0.7905, allocations: 0.7924 MB / 0.7313 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/0.7957, allocations: 2.84 MB / 0.7341 GB, free: 5.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009359/0.7966, allocations: 1.173 MB / 0.7352 GB, free: 4.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/0.7971, allocations: 119.3 kB / 0.7354 GB, free: 4.637 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/0.7971, allocations: 3.938 kB / 0.7354 GB, free: 4.633 MB / 0.545 GB Notification: Performance of Templates: time 0.0629/0.86, allocations: 30.76 MB / 0.7654 GB, free: 6.055 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)