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.001252/0.001252, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001243/0.001243, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8108/0.8108, allocations: 135.1 MB / 426.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 63.89 kB / 0.506 GB, free: 8.414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4316, allocations: 80.91 MB / 0.585 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.0688/0.5005, allocations: 75.16 MB / 0.6584 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02182/0.5223, allocations: 15.14 MB / 0.6732 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002574/0.5249, allocations: 67.67 kB / 0.6733 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.5277, allocations: 0.8305 MB / 0.6741 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007678/0.5354, allocations: 2.577 MB / 0.6766 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.5393, allocations: 1.384 MB / 0.6779 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006326/0.5456, allocations: 4.392 MB / 0.6822 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002883/0.5486, allocations: 1.453 MB / 0.6836 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004417/0.553, allocations: 1.632 MB / 0.6852 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002491/0.5555, allocations: 1.214 MB / 0.6864 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006638/0.5562, allocations: 164 kB / 0.6866 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/0.5603, allocations: 1.404 MB / 0.688 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009576/0.5613, allocations: 402.6 kB / 0.6883 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002322/0.5636, allocations: 0.8983 MB / 0.6892 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005698/0.5693, allocations: 2.848 MB / 0.692 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.5694, allocations: 0 / 0.692 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.08e-06/0.5694, allocations: 3.984 kB / 0.692 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.991e-05/0.5695, allocations: 0 / 0.692 GB, free: 12.72 MB / 0.5294 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.005455/0.5749, allocations: 2.083 MB / 0.694 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.575, allocations: 17.05 kB / 0.694 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.5761, allocations: 234.8 kB / 0.6943 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.579, allocations: 1.454 MB / 0.6957 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/0.5791, allocations: 85.94 kB / 0.6958 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.5793, allocations: 100 kB / 0.6959 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.5814, allocations: 1.1 MB / 0.6969 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.5814, allocations: 0 / 0.6969 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/0.5815, allocations: 40 kB / 0.697 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/0.5815, allocations: 28 kB / 0.697 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.5835, allocations: 0.8939 MB / 0.6979 GB, free: 6.535 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.006839/0.5903, allocations: 4.954 MB / 0.7027 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.5918, allocations: 0.612 MB / 0.7033 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006997/0.5925, allocations: 346.3 kB / 0.7036 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000671/0.5932, allocations: 0.8277 MB / 0.7045 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.5932, allocations: 43.06 kB / 0.7045 GB, free: 15.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 2.364e-06/0.5933, allocations: 0 / 0.7045 GB, free: 15.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.007435/0.6007, allocations: 1.693 MB / 0.7061 GB, free: 13.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.6008, allocations: 55.97 kB / 0.7062 GB, free: 13.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.6026, allocations: 1.241 MB / 0.7074 GB, free: 12.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.6027, allocations: 37.7 kB / 0.7075 GB, free: 12.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005775/0.6033, allocations: 0.6065 MB / 0.708 GB, free: 11.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.6036, allocations: 216.8 kB / 0.7083 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.6038, allocations: 154.6 kB / 0.7084 GB, free: 11.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.6039, allocations: 333.9 kB / 0.7087 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.6046, allocations: 296.6 kB / 0.709 GB, free: 10.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008621/0.6055, allocations: 0.4937 MB / 0.7095 GB, free: 9.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.607, allocations: 0.709 MB / 0.7102 GB, free: 9.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-06/0.607, allocations: 0 / 0.7102 GB, free: 9.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004871/0.6119, allocations: 1.269 MB / 0.7114 GB, free: 7.953 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.6119, allocations: 8 kB / 0.7114 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.6119, allocations: 4 kB / 0.7114 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006337/0.6126, allocations: 137.1 kB / 0.7116 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.6132, allocations: 167.7 kB / 0.7117 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008664/0.6141, allocations: 0.6991 MB / 0.7124 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.6153, allocations: 123 kB / 0.7125 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.304e-05/0.6154, allocations: 35.98 kB / 0.7125 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00118/0.6166, allocations: 0.5527 MB / 0.7131 GB, free: 6.207 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008511/0.6174, allocations: 496.8 kB / 0.7136 GB, free: 5.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001475/0.6189, allocations: 0.7011 MB / 0.7142 GB, free: 4.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.366e-06/0.6189, allocations: 0 / 0.7142 GB, free: 4.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004971/0.6239, allocations: 1.277 MB / 0.7155 GB, free: 3.605 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.6239, allocations: 8 kB / 0.7155 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.624, allocations: 7.938 kB / 0.7155 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/0.6245, allocations: 149 kB / 0.7157 GB, free: 3.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/0.6252, allocations: 159.7 kB / 0.7158 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008776/0.626, allocations: 0.7006 MB / 0.7165 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.6273, allocations: 105.5 kB / 0.7166 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.6273, allocations: 27.98 kB / 0.7166 GB, free: 2.43 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.0003463/0.6277, allocations: 236.1 kB / 0.7168 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.628, allocations: 130.4 kB / 0.717 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.6328, allocations: 1.264 MB / 0.7182 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.6328, allocations: 11.94 kB / 0.7182 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6328, allocations: 3.938 kB / 0.7182 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004268/0.6371, allocations: 1.099 MB / 0.7193 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006961/0.6441, allocations: 2.614 MB / 0.7218 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.6442, allocations: 4 kB / 0.7218 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/0.6446, allocations: 112.2 kB / 0.722 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/0.6451, allocations: 136.7 kB / 0.7221 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/0.6452, allocations: 16 kB / 0.7221 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005194/0.6504, allocations: 2.632 MB / 0.7247 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.6504, allocations: 7.938 kB / 0.7247 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005591/0.656, allocations: 1.699 MB / 0.7263 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007172/0.6568, allocations: 307.2 kB / 0.7266 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.657, allocations: 19.98 kB / 0.7266 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.6578, allocations: 56 kB / 0.7267 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.658, allocations: 64.25 kB / 0.7268 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/0.658, allocations: 31.97 kB / 0.7268 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00134/0.6594, allocations: 0.8857 MB / 0.7277 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6594, allocations: 0 / 0.7277 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001941/0.6614, allocations: 0.7213 MB / 0.7284 GB, free: 5.984 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.0009506/0.6623, allocations: 451.9 kB / 0.7288 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002812/0.6651, allocations: 1.157 MB / 0.7299 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.6652, allocations: 0 / 0.7299 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.6667, allocations: 0.5602 MB / 0.7305 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/0.6703, allocations: 0.8171 MB / 0.7313 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.6742, allocations: 2.34 MB / 0.7336 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007762/0.675, allocations: 1.168 MB / 0.7347 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.6754, allocations: 115.3 kB / 0.7348 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/0.6754, allocations: 0 / 0.7348 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.3137/0.9891, allocations: 31.18 MB / 0.7653 GB, free: 145.5 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)