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.001335/0.001335, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001402/0.001402, allocations: 189.6 kB / 16.25 MB, free: 6.152 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.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9061/0.9061, allocations: 135.6 MB / 425.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 68.06 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1516, allocations: 81.02 MB / 0.5845 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.2834/0.4351, allocations: 74.55 MB / 0.6573 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.4515, allocations: 15.03 MB / 0.672 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.4538, allocations: 59.84 kB / 0.672 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.4559, allocations: 0.7122 MB / 0.6727 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006507/0.4624, allocations: 2.413 MB / 0.6751 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003309/0.4657, allocations: 1.282 MB / 0.6763 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006522/0.4723, allocations: 4.418 MB / 0.6806 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/0.4748, allocations: 1.448 MB / 0.6821 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005356/0.4802, allocations: 1.652 MB / 0.6837 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00289/0.4831, allocations: 1.247 MB / 0.6849 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006801/0.4838, allocations: 161.1 kB / 0.685 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004045/0.4878, allocations: 1.415 MB / 0.6864 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006289/0.4885, allocations: 402.8 kB / 0.6868 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.49, allocations: 0.9134 MB / 0.6877 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004826/0.4949, allocations: 2.856 MB / 0.6905 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4949, allocations: 4 kB / 0.6905 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4949, allocations: 1.188 kB / 0.6905 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.225e-05/0.495, allocations: 0 / 0.6905 GB, free: 2.824 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.004117/0.4991, allocations: 2.079 MB / 0.6925 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4991, allocations: 8.969 kB / 0.6925 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008295/0.5, allocations: 236.3 kB / 0.6928 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.5028, allocations: 1.48 MB / 0.6942 GB, free: 464 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/0.5029, allocations: 76.78 kB / 0.6943 GB, free: 432 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.5031, allocations: 101.3 kB / 0.6944 GB, free: 400 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.5052, allocations: 1.102 MB / 0.6955 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.5053, allocations: 6.031 kB / 0.6955 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.5054, allocations: 45.83 kB / 0.6955 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.5054, allocations: 24.78 kB / 0.6955 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.5073, allocations: 0.8908 MB / 0.6964 GB, free: 15.55 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.006774/0.5141, allocations: 4.897 MB / 0.7012 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.5155, allocations: 0.6236 MB / 0.7018 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007029/0.5162, allocations: 342.7 kB / 0.7021 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007661/0.517, allocations: 0.8285 MB / 0.7029 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.5171, allocations: 39.39 kB / 0.703 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.695e-06/0.5171, allocations: 0 / 0.703 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006939/0.524, allocations: 1.698 MB / 0.7046 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.5241, allocations: 57.56 kB / 0.7047 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.526, allocations: 1.218 MB / 0.7059 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.5262, allocations: 40.3 kB / 0.7059 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005839/0.5268, allocations: 0.6051 MB / 0.7065 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.527, allocations: 212.1 kB / 0.7067 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.5273, allocations: 153.6 kB / 0.7068 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5275, allocations: 337.3 kB / 0.7072 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000681/0.5282, allocations: 295.3 kB / 0.7074 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/0.5291, allocations: 0.4949 MB / 0.7079 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.5305, allocations: 0.6992 MB / 0.7086 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5305, allocations: 2.219 kB / 0.7086 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004751/0.5353, allocations: 1.275 MB / 0.7099 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.5353, allocations: 6.688 kB / 0.7099 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.5353, allocations: 3.531 kB / 0.7099 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/0.5359, allocations: 142.6 kB / 0.71 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.5365, allocations: 157.9 kB / 0.7102 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008785/0.5374, allocations: 0.7076 MB / 0.7108 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.5387, allocations: 152.2 kB / 0.711 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/0.5388, allocations: 36.23 kB / 0.711 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001121/0.54, allocations: 0.5579 MB / 0.7116 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008373/0.5408, allocations: 495 kB / 0.712 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001339/0.5421, allocations: 0.6981 MB / 0.7127 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/0.5422, allocations: 1.281 kB / 0.7127 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004592/0.5468, allocations: 1.276 MB / 0.714 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5468, allocations: 5.5 kB / 0.714 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5468, allocations: 4.125 kB / 0.714 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005007/0.5473, allocations: 145.4 kB / 0.7141 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.5479, allocations: 156.6 kB / 0.7143 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008712/0.5488, allocations: 0.7031 MB / 0.715 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.5502, allocations: 134.6 kB / 0.7151 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.215e-05/0.5503, allocations: 33.92 kB / 0.7151 GB, free: 3.773 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.0003095/0.5506, allocations: 236.6 kB / 0.7153 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00042/0.5511, allocations: 135.2 kB / 0.7155 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/0.5556, allocations: 1.261 MB / 0.7167 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.5556, allocations: 7.938 kB / 0.7167 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5557, allocations: 0 / 0.7167 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004029/0.5597, allocations: 1.106 MB / 0.7178 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006953/0.5667, allocations: 2.603 MB / 0.7203 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.5667, allocations: 4.375 kB / 0.7203 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.5672, allocations: 111 kB / 0.7204 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/0.5677, allocations: 136.6 kB / 0.7206 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/0.5677, allocations: 23.98 kB / 0.7206 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005145/0.5729, allocations: 2.63 MB / 0.7232 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5729, allocations: 4 kB / 0.7232 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005401/0.5783, allocations: 1.695 MB / 0.7248 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007471/0.5791, allocations: 307.2 kB / 0.7251 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/0.5794, allocations: 16 kB / 0.7251 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.5804, allocations: 87.88 kB / 0.7252 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.5806, allocations: 60.36 kB / 0.7253 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.822e-05/0.5807, allocations: 36 kB / 0.7253 GB, free: 11.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001418/0.5821, allocations: 0.87 MB / 0.7262 GB, free: 10.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5821, allocations: 0 / 0.7262 GB, free: 10.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002213/0.5844, allocations: 0.7174 MB / 0.7269 GB, free: 9.441 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.001065/0.5854, allocations: 445.2 kB / 0.7273 GB, free: 9.016 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002968/0.5884, allocations: 1.157 MB / 0.7284 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.5884, allocations: 0 / 0.7284 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.59, allocations: 0.5642 MB / 0.729 GB, free: 7.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003768/0.5938, allocations: 0.8031 MB / 0.7297 GB, free: 6.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.5982, allocations: 2.769 MB / 0.7325 GB, free: 3.684 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008986/0.5991, allocations: 1.183 MB / 0.7336 GB, free: 2.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001261/0.6004, allocations: 306.9 kB / 0.7339 GB, free: 2.168 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.6007, allocations: 103.4 kB / 0.734 GB, free: 2.066 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.6007, allocations: 0 / 0.734 GB, free: 2.066 MB / 0.545 GB Notification: Performance of Templates: time 0.05349/0.6542, allocations: 31.6 MB / 0.7649 GB, free: 2.82 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)