Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7507/0.7507, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 403.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 103 kB / 484.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009902/0.0009903, allocations: 51.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1272, allocations: 80.19 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.3242/0.4514, allocations: 60.84 MB / 0.6996 GB, free: 26.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0148/0.4663, allocations: 12.05 MB / 0.7113 GB, free: 25.78 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.4683, allocations: 56.25 kB / 0.7114 GB, free: 25.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.47, allocations: 0.5514 MB / 0.7119 GB, free: 25.76 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005713/0.4758, allocations: 1.806 MB / 0.7137 GB, free: 25.45 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.4792, allocations: 1.071 MB / 0.7147 GB, free: 25.28 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005475/0.4846, allocations: 3.922 MB / 0.7186 GB, free: 23.83 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.4863, allocations: 0.9474 MB / 0.7195 GB, free: 23.42 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.489, allocations: 1.16 MB / 0.7206 GB, free: 22.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.4908, allocations: 0.9162 MB / 0.7215 GB, free: 22.62 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.491, allocations: 58.28 kB / 0.7216 GB, free: 22.62 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003031/0.4941, allocations: 1.337 MB / 0.7229 GB, free: 22.24 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.4944, allocations: 236.6 kB / 0.7231 GB, free: 22.12 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007941/0.4952, allocations: 0.6383 MB / 0.7237 GB, free: 21.75 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.4984, allocations: 2.249 MB / 0.7259 GB, free: 21.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.4984, allocations: 0 / 0.7259 GB, free: 21.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4984, allocations: 5.094 kB / 0.7259 GB, free: 21.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.4984, allocations: 3.938 kB / 0.7259 GB, free: 21.01 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002892/0.5013, allocations: 1.733 MB / 0.7276 GB, free: 19.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.5014, allocations: 9.594 kB / 0.7276 GB, free: 19.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.5038, allocations: 455.6 kB / 0.7281 GB, free: 19.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.5058, allocations: 1.138 MB / 0.7292 GB, free: 19.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.5062, allocations: 129.1 kB / 0.7293 GB, free: 19.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.5063, allocations: 87.92 kB / 0.7294 GB, free: 18.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.5083, allocations: 1.007 MB / 0.7304 GB, free: 18.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.5084, allocations: 0.5938 kB / 0.7304 GB, free: 18.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.74e-05/0.5085, allocations: 30.97 kB / 0.7304 GB, free: 18.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.5085, allocations: 23.19 kB / 0.7304 GB, free: 18.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/0.5114, allocations: 0.948 MB / 0.7313 GB, free: 17.87 MB / 490.7 MB 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.007064/0.5185, allocations: 4.676 MB / 0.7359 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004804/0.5233, allocations: 1.007 MB / 0.7369 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.5246, allocations: 415.4 kB / 0.7373 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008298/0.5254, allocations: 1.015 MB / 0.7383 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.5255, allocations: 41.81 kB / 0.7383 GB, free: 11.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 2.865e-06/0.5255, allocations: 0 / 0.7383 GB, free: 11.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.009738/0.5352, allocations: 2.232 MB / 0.7405 GB, free: 10.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.5353, allocations: 56.5 kB / 0.7406 GB, free: 10.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.5366, allocations: 0.9456 MB / 0.7415 GB, free: 10.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.291e-05/0.5367, allocations: 36.61 kB / 0.7415 GB, free: 10.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.5371, allocations: 0.4964 MB / 0.742 GB, free: 9.664 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.5372, allocations: 189.2 kB / 0.7422 GB, free: 9.504 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003237/0.5376, allocations: 129.4 kB / 0.7423 GB, free: 9.426 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.5376, allocations: 331.5 kB / 0.7426 GB, free: 9.102 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.5387, allocations: 357.3 kB / 0.743 GB, free: 8.926 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.5398, allocations: 0.5197 MB / 0.7435 GB, free: 8.555 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.5418, allocations: 0.7584 MB / 0.7442 GB, free: 8.125 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5418, allocations: 0 / 0.7442 GB, free: 8.125 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003/0.5449, allocations: 1.073 MB / 0.7453 GB, free: 7.578 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.5449, allocations: 6.062 kB / 0.7453 GB, free: 7.578 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.5449, allocations: 6.641 kB / 0.7453 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.5462, allocations: 318.6 kB / 0.7456 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.5468, allocations: 131.7 kB / 0.7457 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.5482, allocations: 0.9154 MB / 0.7466 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.5496, allocations: 163.6 kB / 0.7468 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-05/0.5498, allocations: 30.31 kB / 0.7468 GB, free: 6.562 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001467/0.5512, allocations: 0.5589 MB / 0.7473 GB, free: 6.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001085/0.5523, allocations: 0.5124 MB / 0.7478 GB, free: 5.715 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001882/0.5542, allocations: 0.7579 MB / 0.7486 GB, free: 4.926 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/0.5542, allocations: 0 / 0.7486 GB, free: 4.926 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002883/0.5571, allocations: 1.06 MB / 0.7496 GB, free: 3.852 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5572, allocations: 8 kB / 0.7496 GB, free: 3.844 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5572, allocations: 4 kB / 0.7496 GB, free: 3.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.5583, allocations: 300.8 kB / 0.7499 GB, free: 3.543 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/0.5589, allocations: 131.8 kB / 0.75 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.5602, allocations: 0.9058 MB / 0.7509 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.5618, allocations: 151.5 kB / 0.7511 GB, free: 2.336 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/0.5619, allocations: 27.98 kB / 0.7511 GB, free: 2.309 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000269/0.5622, allocations: 225.3 kB / 0.7513 GB, free: 2.082 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/0.5625, allocations: 106.7 kB / 0.7514 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/0.5669, allocations: 1.32 MB / 0.7527 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.5669, allocations: 11.98 kB / 0.7527 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5669, allocations: 0 / 0.7527 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5669, allocations: 0 / 0.7527 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006282/0.5732, allocations: 2.421 MB / 0.7551 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5732, allocations: 3.938 kB / 0.7551 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/0.5738, allocations: 108 kB / 0.7552 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.5749, allocations: 314.3 kB / 0.7555 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.867e-05/0.5749, allocations: 19.98 kB / 0.7555 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.5764, allocations: 0.9409 MB / 0.7564 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5764, allocations: 7.969 kB / 0.7564 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006352/0.5828, allocations: 2.551 MB / 0.7589 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/0.5836, allocations: 279.5 kB / 0.7592 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/0.5839, allocations: 12 kB / 0.7592 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.5851, allocations: 111.8 kB / 0.7593 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.5852, allocations: 40.38 kB / 0.7593 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.751e-05/0.5853, allocations: 27.92 kB / 0.7594 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001058/0.5863, allocations: 0.6596 MB / 0.76 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5863, allocations: 0 / 0.76 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002213/0.5886, allocations: 0.5847 MB / 0.7606 GB, free: 8.379 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000976/0.5896, allocations: 381.4 kB / 0.7609 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003967/0.5935, allocations: 1.299 MB / 0.7622 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5936, allocations: 4 kB / 0.7622 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.5949, allocations: 456.8 kB / 0.7626 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/0.5979, allocations: 0.4942 MB / 0.7631 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004933/0.6029, allocations: 2.665 MB / 0.7657 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.6036, allocations: 1.078 MB / 0.7668 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001196/0.6048, allocations: 242.2 kB / 0.767 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.6051, allocations: 79.42 kB / 0.7671 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/0.6051, allocations: 0 / 0.7671 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of Templates: time 0.04095/0.646, allocations: 24.44 MB / 0.791 GB, free: 9.48 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)