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.0007982/0.0007984, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006082/0.006082, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004411, allocations: 8 kB / 0.5076 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 82.31 MB / 0.588 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3953/0.5922, allocations: 73.46 MB / 0.6597 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02263/0.6149, allocations: 15.03 MB / 0.6744 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003712/0.6187, allocations: 57.12 kB / 0.6744 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00291/0.6216, allocations: 0.6744 MB / 0.6751 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009626/0.6313, allocations: 2.381 MB / 0.6774 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004928/0.6362, allocations: 1.268 MB / 0.6787 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01128/0.6475, allocations: 5.551 MB / 0.6841 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003387/0.651, allocations: 1.159 MB / 0.6852 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00473/0.6557, allocations: 1.328 MB / 0.6865 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.659, allocations: 1.145 MB / 0.6876 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006185/0.6597, allocations: 59 kB / 0.6877 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004642/0.6643, allocations: 1.241 MB / 0.6889 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008216/0.6652, allocations: 285.3 kB / 0.6892 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00255/0.6677, allocations: 0.8027 MB / 0.6899 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007366/0.6751, allocations: 2.714 MB / 0.6926 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.6752, allocations: 0 / 0.6926 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6752, allocations: 0 / 0.6926 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001071/0.6753, allocations: 1.375 kB / 0.6926 GB, free: 4.395 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.005707/0.681, allocations: 1.789 MB / 0.6943 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.6811, allocations: 9.125 kB / 0.6944 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.6825, allocations: 241 kB / 0.6946 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003593/0.6861, allocations: 1.489 MB / 0.696 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.6862, allocations: 80.41 kB / 0.6961 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.6864, allocations: 101.4 kB / 0.6962 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.689, allocations: 1.125 MB / 0.6973 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.689, allocations: 0 / 0.6973 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-05/0.6891, allocations: 41.66 kB / 0.6973 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/0.6892, allocations: 30.02 kB / 0.6974 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.6915, allocations: 0.9302 MB / 0.6983 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.007877/0.6994, allocations: 4.911 MB / 0.7031 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.701, allocations: 0.6443 MB / 0.7037 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008115/0.7018, allocations: 366.7 kB / 0.7041 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007341/0.7026, allocations: 0.8324 MB / 0.7049 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.7026, allocations: 42.25 kB / 0.7049 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.246e-06/0.7027, allocations: 1.375 kB / 0.7049 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.00795/0.7106, allocations: 1.899 MB / 0.7068 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.7107, allocations: 58.34 kB / 0.7068 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.7128, allocations: 1.212 MB / 0.708 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.713, allocations: 43.14 kB / 0.708 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005385/0.7135, allocations: 0.6033 MB / 0.7086 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.7138, allocations: 212.1 kB / 0.7088 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.7139, allocations: 62.78 kB / 0.7089 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.714, allocations: 336.7 kB / 0.7092 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007289/0.7148, allocations: 302 kB / 0.7095 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008992/0.7157, allocations: 0.5154 MB / 0.71 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.7172, allocations: 0.748 MB / 0.7107 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.7172, allocations: 2.188 kB / 0.7107 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005246/0.7225, allocations: 1.407 MB / 0.7121 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.7226, allocations: 197.5 kB / 0.7123 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.7226, allocations: 10.78 kB / 0.7123 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.7233, allocations: 146.3 kB / 0.7125 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/0.7239, allocations: 159.4 kB / 0.7126 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008862/0.7248, allocations: 0.7224 MB / 0.7133 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.7265, allocations: 167.6 kB / 0.7135 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.099e-05/0.7266, allocations: 33.16 kB / 0.7135 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.7266, allocations: 2.906 kB / 0.7135 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004671/0.7313, allocations: 1.254 MB / 0.7147 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.7313, allocations: 7.219 kB / 0.7147 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/0.7318, allocations: 142.4 kB / 0.7149 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/0.7325, allocations: 164.7 kB / 0.715 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008276/0.7333, allocations: 0.7251 MB / 0.7157 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.7349, allocations: 161.5 kB / 0.7159 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.735, allocations: 35.95 kB / 0.7159 GB, free: 6.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.0009136/0.7359, allocations: 417.3 kB / 0.7163 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.7362, allocations: 135.9 kB / 0.7165 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00484/0.741, allocations: 1.406 MB / 0.7178 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.7411, allocations: 11.05 kB / 0.7178 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.7411, allocations: 4 kB / 0.7178 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004307/0.7454, allocations: 1.239 MB / 0.7191 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007159/0.7526, allocations: 2.733 MB / 0.7217 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/0.7526, allocations: 4 kB / 0.7217 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.7531, allocations: 119.9 kB / 0.7218 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005043/0.7536, allocations: 148.5 kB / 0.722 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.7537, allocations: 24 kB / 0.722 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004778/0.7585, allocations: 2.48 MB / 0.7244 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.7585, allocations: 4 kB / 0.7244 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005852/0.7644, allocations: 1.848 MB / 0.7262 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.7654, allocations: 335.1 kB / 0.7266 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.7656, allocations: 16.11 kB / 0.7266 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009466/0.7666, allocations: 95.75 kB / 0.7267 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.7667, allocations: 68.22 kB / 0.7267 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.409e-05/0.7668, allocations: 31.98 kB / 0.7268 GB, free: 12.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001362/0.7682, allocations: 0.8701 MB / 0.7276 GB, free: 12.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7682, allocations: 0 / 0.7276 GB, free: 12.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002154/0.7704, allocations: 0.7096 MB / 0.7283 GB, free: 11.34 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.0009082/0.7713, allocations: 446.8 kB / 0.7287 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002933/0.7742, allocations: 1.172 MB / 0.7299 GB, free: 9.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7742, allocations: 4 kB / 0.7299 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.7758, allocations: 0.5995 MB / 0.7305 GB, free: 9.137 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004419/0.7803, allocations: 0.7848 MB / 0.7312 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.7846, allocations: 2.823 MB / 0.734 GB, free: 5.469 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007602/0.7854, allocations: 1.179 MB / 0.7351 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001322/0.7867, allocations: 311.1 kB / 0.7354 GB, free: 3.957 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.787, allocations: 107.4 kB / 0.7355 GB, free: 3.852 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/0.787, allocations: 0 / 0.7355 GB, free: 3.852 MB / 0.545 GB Notification: Performance of Templates: time 0.05436/0.8414, allocations: 31.95 MB / 0.7667 GB, free: 4.234 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)