Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_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-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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007852/0.0007855, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.005808/0.005808, allocations: 169.5 kB / 16.27 MB, free: 6.648 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.388/1.388, allocations: 223.3 MB / 240.3 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.9985/0.9985, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003781, allocations: 9.344 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.188, allocations: 82.3 MB / 0.588 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3925/0.5805, allocations: 73.46 MB / 0.6597 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.5985, allocations: 15.02 MB / 0.6744 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003293/0.6018, allocations: 64.12 kB / 0.6744 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002691/0.6045, allocations: 0.6763 MB / 0.6751 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008745/0.6133, allocations: 2.38 MB / 0.6774 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.6174, allocations: 1.269 MB / 0.6787 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00915/0.6266, allocations: 5.549 MB / 0.6841 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.6296, allocations: 1.156 MB / 0.6852 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004068/0.6337, allocations: 1.334 MB / 0.6865 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.6369, allocations: 1.155 MB / 0.6876 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005654/0.6374, allocations: 55.69 kB / 0.6877 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004279/0.6417, allocations: 1.258 MB / 0.6889 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008201/0.6426, allocations: 286.6 kB / 0.6892 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002553/0.6451, allocations: 0.8032 MB / 0.69 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00745/0.6526, allocations: 2.74 MB / 0.6927 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6526, allocations: 0 / 0.6927 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6527, allocations: 0 / 0.6927 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001169/0.6528, allocations: 5.25 kB / 0.6927 GB, free: 4.398 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.006021/0.6588, allocations: 1.783 MB / 0.6944 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.6589, allocations: 13.16 kB / 0.6944 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.6602, allocations: 242.1 kB / 0.6946 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004054/0.6643, allocations: 1.508 MB / 0.6961 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-05/0.6644, allocations: 76.69 kB / 0.6962 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.6646, allocations: 101.7 kB / 0.6963 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.667, allocations: 1.117 MB / 0.6974 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.6671, allocations: 9 kB / 0.6974 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-05/0.6672, allocations: 42.17 kB / 0.6974 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.6672, allocations: 25.86 kB / 0.6974 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.6694, allocations: 0.9388 MB / 0.6984 GB, free: 1.297 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.007525/0.6769, allocations: 4.912 MB / 0.7032 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.6784, allocations: 0.6526 MB / 0.7038 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007518/0.6792, allocations: 379.6 kB / 0.7042 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006606/0.6799, allocations: 0.8256 MB / 0.705 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.6799, allocations: 46.38 kB / 0.705 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.404e-06/0.6799, allocations: 0 / 0.705 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.006541/0.6865, allocations: 1.52 MB / 0.7065 GB, free: 12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.6866, allocations: 62.62 kB / 0.7066 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/0.6892, allocations: 1.216 MB / 0.7077 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.6895, allocations: 42.8 kB / 0.7078 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000659/0.6901, allocations: 0.6 MB / 0.7084 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.6904, allocations: 224.5 kB / 0.7086 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.6906, allocations: 58.31 kB / 0.7086 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6907, allocations: 340.4 kB / 0.709 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/0.6915, allocations: 304.1 kB / 0.7093 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009345/0.6924, allocations: 0.5104 MB / 0.7098 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.694, allocations: 0.7443 MB / 0.7105 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.6941, allocations: 1.125 kB / 0.7105 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005345/0.6994, allocations: 1.403 MB / 0.7119 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.6996, allocations: 187.8 kB / 0.712 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.6996, allocations: 3.281 kB / 0.712 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007801/0.7004, allocations: 163.7 kB / 0.7122 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.701, allocations: 163.3 kB / 0.7123 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008828/0.7019, allocations: 0.7361 MB / 0.7131 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.7035, allocations: 164.2 kB / 0.7132 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/0.7036, allocations: 33.92 kB / 0.7133 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.7036, allocations: 8.812 kB / 0.7133 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004701/0.7083, allocations: 1.244 MB / 0.7145 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.7083, allocations: 3.594 kB / 0.7145 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006099/0.709, allocations: 164 kB / 0.7146 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/0.7096, allocations: 158.2 kB / 0.7148 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008329/0.7104, allocations: 0.7368 MB / 0.7155 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.7119, allocations: 154.5 kB / 0.7157 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.405e-05/0.712, allocations: 34.86 kB / 0.7157 GB, free: 6.184 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0008511/0.7129, allocations: 419.3 kB / 0.7161 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/0.7131, allocations: 132.2 kB / 0.7162 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004764/0.7179, allocations: 1.396 MB / 0.7176 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.7179, allocations: 15.05 kB / 0.7176 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.718, allocations: 0 / 0.7176 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004272/0.7222, allocations: 1.223 MB / 0.7188 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004646/0.7269, allocations: 2.363 MB / 0.7211 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.7269, allocations: 3.375 kB / 0.7211 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.7274, allocations: 119.1 kB / 0.7212 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005864/0.728, allocations: 151.3 kB / 0.7214 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.7281, allocations: 29.23 kB / 0.7214 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008482/0.7289, allocations: 0.7164 MB / 0.7221 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.7289, allocations: 7.938 kB / 0.7221 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.732, allocations: 1.462 MB / 0.7235 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008785/0.7329, allocations: 331.2 kB / 0.7238 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.7331, allocations: 20 kB / 0.7239 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009439/0.734, allocations: 99.75 kB / 0.7239 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.7341, allocations: 60.23 kB / 0.724 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/0.7342, allocations: 27.98 kB / 0.724 GB, free: 15.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001302/0.7355, allocations: 0.874 MB / 0.7249 GB, free: 14.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7355, allocations: 4 kB / 0.7249 GB, free: 14.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002217/0.7377, allocations: 0.7057 MB / 0.7256 GB, free: 14.25 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008982/0.7387, allocations: 451.8 kB / 0.726 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002684/0.7413, allocations: 1.174 MB / 0.7272 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7414, allocations: 0 / 0.7272 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009159/0.7423, allocations: 417 kB / 0.7276 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/0.7466, allocations: 0.7996 MB / 0.7283 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.7509, allocations: 2.828 MB / 0.7311 GB, free: 8.562 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000764/0.7517, allocations: 1.165 MB / 0.7322 GB, free: 7.371 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001523/0.7533, allocations: 310.2 kB / 0.7325 GB, free: 7.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.7536, allocations: 111.4 kB / 0.7326 GB, free: 6.961 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/0.7536, allocations: 4 kB / 0.7326 GB, free: 6.957 MB / 0.545 GB Notification: Performance of Templates: time 0.05493/0.8085, allocations: 31.79 MB / 0.7637 GB, free: 7.516 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)