Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001482/0.001482, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3984/0.3984, allocations: 54.98 MB / 325.4 MB, free: 0.6953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005143, allocations: 20 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3325, allocations: 60.72 MB / 457.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04107/0.3736, allocations: 50.68 MB / 0.4961 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.3874, allocations: 9.675 MB / 0.5055 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.3898, allocations: 38.34 kB / 0.5056 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.3925, allocations: 0.5846 MB / 0.5061 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007559/0.4001, allocations: 1.865 MB / 0.508 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003916/0.404, allocations: 0.8335 MB / 0.5088 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004741/0.4087, allocations: 1.813 MB / 0.5105 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.411, allocations: 0.8157 MB / 0.5113 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003353/0.4144, allocations: 1.063 MB / 0.5124 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.4165, allocations: 0.658 MB / 0.513 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004107/0.417, allocations: 44.12 kB / 0.5131 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.4202, allocations: 0.7931 MB / 0.5138 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004943/0.4207, allocations: 203.2 kB / 0.514 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008806/0.4216, allocations: 302.3 kB / 0.5143 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003052/0.4247, allocations: 1.573 MB / 0.5159 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4247, allocations: 0 / 0.5159 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4247, allocations: 0 / 0.5159 GB, free: 10.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.561e-05/0.4248, allocations: 0 / 0.5159 GB, free: 10.67 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.004596/0.4294, allocations: 1.498 MB / 0.5173 GB, free: 9.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4294, allocations: 9.125 kB / 0.5173 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.4328, allocations: 0.5368 MB / 0.5178 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/0.4362, allocations: 1.071 MB / 0.5189 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004526/0.4367, allocations: 134.8 kB / 0.519 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/0.4371, allocations: 88.41 kB / 0.5191 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003828/0.4409, allocations: 1.291 MB / 0.5204 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.441, allocations: 5.406 kB / 0.5204 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.4411, allocations: 42.7 kB / 0.5204 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.997e-05/0.4412, allocations: 29.86 kB / 0.5204 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003734/0.4449, allocations: 1.134 MB / 0.5215 GB, free: 7.707 MB / 398.1 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.008843/0.4538, allocations: 6.142 MB / 0.5275 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.4571, allocations: 0.9785 MB / 0.5285 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004379/0.4576, allocations: 419 kB / 0.5289 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.4577, allocations: 48.36 kB / 0.5289 GB, free: 1.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.505e-06/0.4577, allocations: 4 kB / 0.529 GB, free: 1.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.01126/0.469, allocations: 2.451 MB / 0.5313 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.4691, allocations: 166.2 kB / 0.5315 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.4712, allocations: 1.052 MB / 0.5325 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002225/0.4715, allocations: 37.7 kB / 0.5326 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007293/0.4722, allocations: 0.5811 MB / 0.5331 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000318/0.4726, allocations: 149.8 kB / 0.5333 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.4726, allocations: 16 kB / 0.5333 GB, free: 13.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4728, allocations: 334 kB / 0.5336 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.4742, allocations: 401 kB / 0.534 GB, free: 13.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.4759, allocations: 0.6777 MB / 0.5347 GB, free: 12.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.4773, allocations: 449.8 kB / 0.5351 GB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.4774, allocations: 4 kB / 0.5351 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005968/0.4833, allocations: 1.608 MB / 0.5367 GB, free: 10.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001026/0.4844, allocations: 2.375 MB / 0.539 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.4844, allocations: 8 kB / 0.539 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4856, allocations: 273.5 kB / 0.5392 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/0.4866, allocations: 187.7 kB / 0.5394 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.4882, allocations: 0.8806 MB / 0.5403 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.4901, allocations: 226.8 kB / 0.5405 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.4903, allocations: 31.98 kB / 0.5405 GB, free: 6.172 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.4903, allocations: 4 kB / 0.5405 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005168/0.4955, allocations: 1.407 MB / 0.5419 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.4955, allocations: 11.94 kB / 0.5419 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009824/0.4965, allocations: 278.6 kB / 0.5422 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008405/0.4973, allocations: 167.8 kB / 0.5423 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.4989, allocations: 0.881 MB / 0.5432 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.5006, allocations: 184.3 kB / 0.5434 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.5008, allocations: 39.94 kB / 0.5434 GB, free: 3.188 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008359/0.5016, allocations: 360.9 kB / 0.5438 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.502, allocations: 110.7 kB / 0.5439 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004764/0.5068, allocations: 1.293 MB / 0.5451 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.5068, allocations: 7.953 kB / 0.5451 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5068, allocations: 0 / 0.5451 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5068, allocations: 3.984 kB / 0.5451 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007553/0.5144, allocations: 2.482 MB / 0.5476 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.5144, allocations: 0 / 0.5476 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006838/0.5151, allocations: 119.9 kB / 0.5477 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009742/0.5161, allocations: 272.6 kB / 0.5479 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/0.5162, allocations: 11.98 kB / 0.548 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.5181, allocations: 0.9466 MB / 0.5489 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.5181, allocations: 10.44 kB / 0.5489 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/0.5227, allocations: 1.44 MB / 0.5503 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000877/0.5237, allocations: 279.6 kB / 0.5506 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/0.5241, allocations: 15.98 kB / 0.5506 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.5256, allocations: 147.7 kB / 0.5507 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.5257, allocations: 27.91 kB / 0.5507 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/0.5258, allocations: 27.97 kB / 0.5508 GB, free: 11.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001421/0.5273, allocations: 0.7202 MB / 0.5515 GB, free: 10.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5273, allocations: 0 / 0.5515 GB, free: 10.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002503/0.5298, allocations: 0.5613 MB / 0.552 GB, free: 10.15 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007641/0.5306, allocations: 277.1 kB / 0.5523 GB, free: 9.883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0044/0.535, allocations: 1.422 MB / 0.5537 GB, free: 8.461 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.535, allocations: 3.938 kB / 0.5537 GB, free: 8.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.5368, allocations: 0.5009 MB / 0.5542 GB, free: 7.957 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/0.5404, allocations: 0.5411 MB / 0.5547 GB, free: 7.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/0.5461, allocations: 2.298 MB / 0.5569 GB, free: 5.074 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009664/0.5471, allocations: 1.092 MB / 0.558 GB, free: 3.953 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001609/0.5488, allocations: 234.5 kB / 0.5582 GB, free: 3.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/0.5492, allocations: 83.41 kB / 0.5583 GB, free: 3.648 MB / 430.1 MB Notification: Performance of SimCode: time 1.553e-06/0.5492, allocations: 0 / 0.5583 GB, free: 3.648 MB / 430.1 MB Notification: Performance of Templates: time 0.04187/0.5911, allocations: 22.23 MB / 0.58 GB, free: 13.64 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: