Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008563/0.0008563, allocations: 90.36 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.007439/0.007439, allocations: 172 kB / 16.26 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7472/0.7472, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4981/0.4984, allocations: 81.58 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.0881/0.5866, allocations: 73.45 MB / 0.6554 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02383/0.6104, allocations: 15.02 MB / 0.6701 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004167/0.6146, allocations: 59.56 kB / 0.6701 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.6177, allocations: 0.6682 MB / 0.6708 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.6282, allocations: 2.387 MB / 0.6731 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004516/0.6327, allocations: 1.261 MB / 0.6743 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007491/0.6402, allocations: 5.566 MB / 0.6798 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.6424, allocations: 1.163 MB / 0.6809 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003151/0.6456, allocations: 1.334 MB / 0.6822 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/0.6478, allocations: 1.147 MB / 0.6833 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.6481, allocations: 56 kB / 0.6834 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.6512, allocations: 1.239 MB / 0.6846 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004708/0.6517, allocations: 298.5 kB / 0.6849 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.6531, allocations: 0.7984 MB / 0.6856 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004171/0.6573, allocations: 2.722 MB / 0.6883 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6573, allocations: 0 / 0.6883 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6573, allocations: 0 / 0.6883 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.368e-05/0.6574, allocations: 0 / 0.6883 GB, free: 4.969 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.003895/0.6613, allocations: 1.791 MB / 0.6901 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.6613, allocations: 8.031 kB / 0.6901 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008452/0.6622, allocations: 242.8 kB / 0.6903 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.6648, allocations: 1.501 MB / 0.6918 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/0.6649, allocations: 74 kB / 0.6918 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.6651, allocations: 104 kB / 0.6919 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.6672, allocations: 1.12 MB / 0.693 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.6672, allocations: 4 kB / 0.693 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.581e-05/0.6673, allocations: 36 kB / 0.6931 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.274e-05/0.6674, allocations: 31.98 kB / 0.6931 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.6694, allocations: 0.929 MB / 0.694 GB, free: 14.98 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.00582/0.6752, allocations: 4.919 MB / 0.6988 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.6767, allocations: 0.6361 MB / 0.6994 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007564/0.6774, allocations: 371 kB / 0.6998 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006249/0.6781, allocations: 0.8277 MB / 0.7006 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.6781, allocations: 43.06 kB / 0.7006 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.405e-06/0.6781, allocations: 0 / 0.7006 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007815/0.6859, allocations: 1.904 MB / 0.7025 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.686, allocations: 55.97 kB / 0.7025 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.6877, allocations: 1.218 MB / 0.7037 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.455e-05/0.6878, allocations: 45.69 kB / 0.7038 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005721/0.6884, allocations: 0.6026 MB / 0.7044 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.6886, allocations: 209 kB / 0.7046 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.6888, allocations: 65.67 kB / 0.7046 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6889, allocations: 341.8 kB / 0.705 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007093/0.6896, allocations: 301.8 kB / 0.7052 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008649/0.6905, allocations: 0.5188 MB / 0.7057 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.692, allocations: 0.7519 MB / 0.7065 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.692, allocations: 0 / 0.7065 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005166/0.6972, allocations: 1.406 MB / 0.7079 GB, free: 92 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001981/0.6974, allocations: 190 kB / 0.708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.6974, allocations: 8 kB / 0.708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007372/0.6982, allocations: 152.7 kB / 0.7082 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/0.6989, allocations: 167.7 kB / 0.7083 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009783/0.6999, allocations: 0.7162 MB / 0.709 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.7014, allocations: 167 kB / 0.7092 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.799e-05/0.7014, allocations: 35.98 kB / 0.7092 GB, free: 14.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.7015, allocations: 4 kB / 0.7092 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004758/0.7062, allocations: 1.25 MB / 0.7105 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.7063, allocations: 8.062 kB / 0.7105 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005239/0.7068, allocations: 144.7 kB / 0.7106 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.7074, allocations: 167.7 kB / 0.7108 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008602/0.7083, allocations: 0.716 MB / 0.7115 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.7097, allocations: 159.1 kB / 0.7116 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/0.7098, allocations: 31.98 kB / 0.7117 GB, free: 12.08 MB / 0.545 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.000765/0.7106, allocations: 425.5 kB / 0.7121 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.7108, allocations: 134.4 kB / 0.7122 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005044/0.7158, allocations: 1.404 MB / 0.7136 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.7159, allocations: 4 kB / 0.7136 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.7159, allocations: 4 kB / 0.7136 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004627/0.7205, allocations: 1.232 MB / 0.7148 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007015/0.7275, allocations: 2.743 MB / 0.7174 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.7276, allocations: 4.094 kB / 0.7174 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.7281, allocations: 119.9 kB / 0.7176 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/0.7286, allocations: 140.7 kB / 0.7177 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.7287, allocations: 20 kB / 0.7177 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005054/0.7337, allocations: 2.497 MB / 0.7202 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.7337, allocations: 7.938 kB / 0.7202 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006104/0.7398, allocations: 1.852 MB / 0.722 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.7409, allocations: 331.1 kB / 0.7223 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.741, allocations: 16 kB / 0.7223 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000937/0.742, allocations: 95.81 kB / 0.7224 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.7421, allocations: 64.23 kB / 0.7225 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/0.7422, allocations: 27.98 kB / 0.7225 GB, free: 0.582 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001492/0.7437, allocations: 0.874 MB / 0.7233 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7437, allocations: 0 / 0.7233 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002134/0.7459, allocations: 0.7096 MB / 0.724 GB, free: 15 MB / 0.5606 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.0009851/0.7469, allocations: 453.3 kB / 0.7245 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002712/0.7496, allocations: 1.164 MB / 0.7256 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.7496, allocations: 4 kB / 0.7256 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.7513, allocations: 0.5994 MB / 0.7262 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004461/0.7557, allocations: 0.7931 MB / 0.727 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/0.7603, allocations: 2.807 MB / 0.7297 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007877/0.7611, allocations: 1.187 MB / 0.7309 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001277/0.7624, allocations: 306.5 kB / 0.7312 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.7627, allocations: 115.3 kB / 0.7313 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.7627, allocations: 0 / 0.7313 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of Templates: time 0.05768/0.8204, allocations: 31.93 MB / 0.7624 GB, free: 7.957 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)