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.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 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.001152/0.001152, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9991/0.9991, allocations: 135.2 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 63.83 kB / 0.5054 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1814, allocations: 80.94 MB / 0.5844 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3897/0.5712, allocations: 75.18 MB / 0.6578 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01961/0.5908, allocations: 15.14 MB / 0.6726 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003124/0.594, allocations: 64.78 kB / 0.6727 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002454/0.5965, allocations: 0.8273 MB / 0.6735 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008603/0.6052, allocations: 2.583 MB / 0.676 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004025/0.6092, allocations: 1.381 MB / 0.6774 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007177/0.6164, allocations: 4.386 MB / 0.6816 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00257/0.619, allocations: 1.45 MB / 0.6831 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004742/0.6237, allocations: 1.633 MB / 0.6847 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.6263, allocations: 1.204 MB / 0.6858 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004217/0.6268, allocations: 162.1 kB / 0.686 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003938/0.6307, allocations: 1.402 MB / 0.6874 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005088/0.6312, allocations: 404.8 kB / 0.6877 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.6327, allocations: 0.9107 MB / 0.6886 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005009/0.6377, allocations: 2.842 MB / 0.6914 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6377, allocations: 1.125 kB / 0.6914 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6377, allocations: 0 / 0.6914 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.245e-05/0.6378, allocations: 0 / 0.6914 GB, free: 2.465 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.004262/0.6421, allocations: 2.083 MB / 0.6934 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.6421, allocations: 9.719 kB / 0.6935 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009204/0.643, allocations: 235.4 kB / 0.6937 GB, free: 1 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/0.6456, allocations: 1.447 MB / 0.6951 GB, free: 108 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/0.6456, allocations: 80.28 kB / 0.6952 GB, free: 72 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.6458, allocations: 101.7 kB / 0.6953 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.648, allocations: 1.103 MB / 0.6963 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.648, allocations: 5.281 kB / 0.6963 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.753e-05/0.6481, allocations: 40.53 kB / 0.6964 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.6481, allocations: 30.28 kB / 0.6964 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.6501, allocations: 0.8895 MB / 0.6973 GB, free: 15.2 MB / 0.5294 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.006934/0.6571, allocations: 4.935 MB / 0.7021 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.6586, allocations: 0.6245 MB / 0.7027 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006911/0.6593, allocations: 352.7 kB / 0.703 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006589/0.66, allocations: 0.8257 MB / 0.7039 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.66, allocations: 47.03 kB / 0.7039 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.966e-06/0.66, allocations: 0 / 0.7039 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007552/0.6676, allocations: 1.694 MB / 0.7055 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.6677, allocations: 57.38 kB / 0.7056 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.6695, allocations: 1.23 MB / 0.7068 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.6696, allocations: 41.92 kB / 0.7068 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005274/0.6701, allocations: 0.6042 MB / 0.7074 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.6704, allocations: 220 kB / 0.7076 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.6706, allocations: 151.5 kB / 0.7078 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.6707, allocations: 336.7 kB / 0.7081 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/0.6714, allocations: 292.2 kB / 0.7084 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008747/0.6723, allocations: 0.4896 MB / 0.7089 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.6738, allocations: 0.7095 MB / 0.7096 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6738, allocations: 1.406 kB / 0.7096 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004898/0.6787, allocations: 1.272 MB / 0.7108 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.6787, allocations: 6.438 kB / 0.7108 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6788, allocations: 3.219 kB / 0.7108 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/0.6793, allocations: 143.3 kB / 0.711 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006032/0.68, allocations: 162 kB / 0.7111 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008381/0.6808, allocations: 0.6948 MB / 0.7118 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.682, allocations: 126 kB / 0.7119 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.6821, allocations: 32.08 kB / 0.7119 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001147/0.6832, allocations: 0.5539 MB / 0.7125 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009645/0.6842, allocations: 499 kB / 0.713 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001463/0.6857, allocations: 0.7018 MB / 0.7136 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/0.6857, allocations: 5.188 kB / 0.7136 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005031/0.6907, allocations: 1.272 MB / 0.7149 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.6908, allocations: 5.5 kB / 0.7149 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6908, allocations: 4.125 kB / 0.7149 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004904/0.6913, allocations: 137.3 kB / 0.715 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006224/0.6919, allocations: 160.5 kB / 0.7152 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.693, allocations: 0.703 MB / 0.7159 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.6945, allocations: 101.5 kB / 0.716 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.6945, allocations: 31.17 kB / 0.716 GB, free: 3.082 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.0003379/0.6949, allocations: 232.6 kB / 0.7162 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.6952, allocations: 135.5 kB / 0.7163 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004751/0.6999, allocations: 1.26 MB / 0.7176 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.7, allocations: 7.594 kB / 0.7176 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7, allocations: 0 / 0.7176 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004143/0.7041, allocations: 1.101 MB / 0.7187 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007015/0.7112, allocations: 2.627 MB / 0.7212 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.7112, allocations: 2.438 kB / 0.7212 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/0.7116, allocations: 108.7 kB / 0.7213 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005727/0.7122, allocations: 133.7 kB / 0.7215 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/0.7123, allocations: 27.98 kB / 0.7215 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005377/0.7177, allocations: 2.633 MB / 0.7241 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.7177, allocations: 4 kB / 0.7241 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005847/0.7236, allocations: 1.703 MB / 0.7257 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000691/0.7243, allocations: 303.2 kB / 0.726 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.7245, allocations: 16 kB / 0.726 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008197/0.7253, allocations: 52.05 kB / 0.7261 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.7255, allocations: 68.23 kB / 0.7261 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.298e-05/0.7255, allocations: 31.98 kB / 0.7262 GB, free: 10.42 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00158/0.7271, allocations: 0.8818 MB / 0.727 GB, free: 9.539 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7271, allocations: 0 / 0.727 GB, free: 9.539 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003313/0.7304, allocations: 0.7135 MB / 0.7277 GB, free: 8.824 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.001575/0.7321, allocations: 467.4 kB / 0.7282 GB, free: 8.375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003539/0.7356, allocations: 1.157 MB / 0.7293 GB, free: 7.219 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.7357, allocations: 4.062 kB / 0.7293 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.7373, allocations: 0.5602 MB / 0.7299 GB, free: 6.641 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/0.7415, allocations: 0.8009 MB / 0.7306 GB, free: 5.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.7459, allocations: 2.325 MB / 0.7329 GB, free: 3.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009061/0.7469, allocations: 1.171 MB / 0.734 GB, free: 2.281 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001307/0.7482, allocations: 310.9 kB / 0.7343 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.7485, allocations: 107.4 kB / 0.7344 GB, free: 1.867 MB / 0.545 GB Notification: Performance of SimCode: time 8.81e-07/0.7485, allocations: 0 / 0.7344 GB, free: 1.867 MB / 0.545 GB Notification: Performance of Templates: time 0.05788/0.8064, allocations: 32.23 MB / 0.7659 GB, free: 1.996 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)