Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009272/0.0009271, allocations: 91.53 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.005157/0.005157, allocations: 174.2 kB / 16.27 MB, free: 6.613 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.351/1.351, 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 0.9487/0.9487, allocations: 135.3 MB / 426.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 12 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1947, allocations: 82.31 MB / 0.588 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.4106/0.6054, allocations: 73.43 MB / 0.6597 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01768/0.6231, allocations: 15.02 MB / 0.6743 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002832/0.626, allocations: 57.12 kB / 0.6744 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.6286, allocations: 0.672 MB / 0.6751 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008148/0.6368, allocations: 2.392 MB / 0.6774 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004947/0.6417, allocations: 1.262 MB / 0.6786 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009808/0.6515, allocations: 5.565 MB / 0.6841 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/0.6547, allocations: 1.16 MB / 0.6852 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004555/0.6592, allocations: 1.334 MB / 0.6865 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003242/0.6625, allocations: 1.149 MB / 0.6876 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005231/0.6631, allocations: 56.94 kB / 0.6877 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004097/0.6672, allocations: 1.238 MB / 0.6889 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007014/0.6679, allocations: 285 kB / 0.6891 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.6701, allocations: 0.8032 MB / 0.6899 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006554/0.6766, allocations: 2.718 MB / 0.6926 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.6767, allocations: 1.25 kB / 0.6926 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6767, allocations: 0 / 0.6926 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001384/0.6768, allocations: 0 / 0.6926 GB, free: 4.48 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.00696/0.6838, allocations: 1.79 MB / 0.6943 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.6839, allocations: 9.859 kB / 0.6943 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.6855, allocations: 240.7 kB / 0.6946 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003795/0.6893, allocations: 1.503 MB / 0.696 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/0.6894, allocations: 78.08 kB / 0.6961 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.6896, allocations: 100.1 kB / 0.6962 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.6923, allocations: 1.118 MB / 0.6973 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.6924, allocations: 0.5625 kB / 0.6973 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.6925, allocations: 44.8 kB / 0.6973 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/0.6926, allocations: 26.27 kB / 0.6974 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.6948, allocations: 0.9378 MB / 0.6983 GB, free: 1.383 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.007647/0.7025, allocations: 4.913 MB / 0.7031 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.7041, allocations: 0.6479 MB / 0.7037 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008437/0.705, allocations: 368.7 kB / 0.7041 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000719/0.7057, allocations: 0.825 MB / 0.7049 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.7058, allocations: 42.47 kB / 0.7049 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.695e-06/0.7058, allocations: 0 / 0.7049 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007897/0.7137, allocations: 1.903 MB / 0.7068 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.7137, allocations: 61.02 kB / 0.7068 GB, free: 12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.7162, allocations: 1.214 MB / 0.708 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.7163, allocations: 38.95 kB / 0.7081 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000606/0.7169, allocations: 0.6123 MB / 0.7087 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/0.7172, allocations: 207.6 kB / 0.7089 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.7173, allocations: 58.62 kB / 0.7089 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.7175, allocations: 345.2 kB / 0.7092 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/0.7183, allocations: 306 kB / 0.7095 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009379/0.7192, allocations: 0.5031 MB / 0.71 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.7209, allocations: 0.7569 MB / 0.7108 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.7209, allocations: 1.5 kB / 0.7108 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005436/0.7264, allocations: 1.407 MB / 0.7121 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.7266, allocations: 205 kB / 0.7123 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.7266, allocations: 3.156 kB / 0.7123 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006605/0.7272, allocations: 144.5 kB / 0.7125 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.7279, allocations: 172.8 kB / 0.7126 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009407/0.7289, allocations: 0.7153 MB / 0.7133 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.7306, allocations: 175.2 kB / 0.7135 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.7307, allocations: 35.42 kB / 0.7135 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.7308, allocations: 3.719 kB / 0.7135 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004738/0.7355, allocations: 1.254 MB / 0.7148 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.7355, allocations: 2.75 kB / 0.7148 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.7361, allocations: 147.5 kB / 0.7149 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/0.7367, allocations: 164.1 kB / 0.7151 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009018/0.7376, allocations: 0.7179 MB / 0.7158 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.7393, allocations: 157.5 kB / 0.7159 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/0.7394, allocations: 36.27 kB / 0.7159 GB, free: 6.102 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.001122/0.7405, allocations: 413.2 kB / 0.7163 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.7408, allocations: 136.1 kB / 0.7165 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004904/0.7457, allocations: 1.409 MB / 0.7178 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.7458, allocations: 6.531 kB / 0.7179 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7458, allocations: 0 / 0.7179 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00427/0.75, allocations: 1.24 MB / 0.7191 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007337/0.7574, allocations: 2.737 MB / 0.7217 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.128e-06/0.7574, allocations: 4 kB / 0.7217 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.758, allocations: 127.8 kB / 0.7219 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005251/0.7585, allocations: 148.8 kB / 0.722 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.7585, allocations: 16 kB / 0.722 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005189/0.7637, allocations: 2.483 MB / 0.7244 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.7638, allocations: 4 kB / 0.7244 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006398/0.7702, allocations: 1.844 MB / 0.7262 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.7713, allocations: 339 kB / 0.7266 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.7715, allocations: 16 kB / 0.7266 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009446/0.7724, allocations: 99.81 kB / 0.7267 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.7726, allocations: 64.34 kB / 0.7267 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.28e-05/0.7727, allocations: 31.92 kB / 0.7268 GB, free: 12.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001476/0.7742, allocations: 0.874 MB / 0.7276 GB, free: 12.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7742, allocations: 0 / 0.7276 GB, free: 12.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002226/0.7764, allocations: 0.7096 MB / 0.7283 GB, free: 11.33 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.0009872/0.7774, allocations: 436.7 kB / 0.7287 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002913/0.7803, allocations: 1.176 MB / 0.7299 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.7804, allocations: 4.062 kB / 0.7299 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.782, allocations: 0.5993 MB / 0.7305 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005023/0.787, allocations: 0.7919 MB / 0.7312 GB, free: 8.359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.7917, allocations: 2.815 MB / 0.734 GB, free: 5.465 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008167/0.7925, allocations: 1.179 MB / 0.7351 GB, free: 4.254 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001507/0.7941, allocations: 308.5 kB / 0.7354 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.7944, allocations: 115.4 kB / 0.7356 GB, free: 3.836 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/0.7944, allocations: 0 / 0.7356 GB, free: 3.836 MB / 0.545 GB Notification: Performance of Templates: time 0.05758/0.852, allocations: 31.94 MB / 0.7667 GB, free: 4.238 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)