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.00113/0.00113, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4016/0.4016, allocations: 54.95 MB / 324.7 MB, free: 15.94 MB / 270.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.001638/0.001638, allocations: 71.89 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1323, allocations: 59.59 MB / 454.9 MB, free: 172 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.273/0.4053, allocations: 60.48 MB / 0.5033 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.4218, allocations: 11.24 MB / 0.5143 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.4235, allocations: 51.72 kB / 0.5143 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.4254, allocations: 0.7305 MB / 0.5151 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005764/0.4312, allocations: 1.928 MB / 0.5169 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.4343, allocations: 1.025 MB / 0.5179 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005117/0.4394, allocations: 3.027 MB / 0.5209 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.4414, allocations: 1.106 MB / 0.522 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004446/0.4459, allocations: 1.428 MB / 0.5234 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.4481, allocations: 0.981 MB / 0.5243 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.4484, allocations: 120.9 kB / 0.5244 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003579/0.452, allocations: 1.188 MB / 0.5256 GB, free: 444 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004098/0.4524, allocations: 309.7 kB / 0.5259 GB, free: 236 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.4534, allocations: 0.7399 MB / 0.5266 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004423/0.4579, allocations: 2.217 MB / 0.5288 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.4579, allocations: 4 kB / 0.5288 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4579, allocations: 0 / 0.5288 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.461e-05/0.458, allocations: 0 / 0.5288 GB, free: 14.64 MB / 414.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.003862/0.4618, allocations: 1.737 MB / 0.5305 GB, free: 13.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.4619, allocations: 9.844 kB / 0.5305 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.4649, allocations: 0.4935 MB / 0.531 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/0.4677, allocations: 1.105 MB / 0.5321 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/0.4681, allocations: 126.6 kB / 0.5322 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.4683, allocations: 91.36 kB / 0.5323 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/0.4711, allocations: 1.25 MB / 0.5335 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.4711, allocations: 5.438 kB / 0.5335 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-05/0.4712, allocations: 35.09 kB / 0.5335 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.4713, allocations: 35.64 kB / 0.5336 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/0.4743, allocations: 1.062 MB / 0.5346 GB, free: 10.73 MB / 414.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.007334/0.4817, allocations: 6.13 MB / 0.5406 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/0.4847, allocations: 0.8787 MB / 0.5414 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009551/0.4857, allocations: 365.2 kB / 0.5418 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003927/0.4861, allocations: 421.5 kB / 0.5422 GB, free: 2.812 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.4861, allocations: 38.56 kB / 0.5422 GB, free: 2.766 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.4861, allocations: 0 / 0.5422 GB, free: 2.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.009879/0.496, allocations: 2.164 MB / 0.5443 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/0.4961, allocations: 162.2 kB / 0.5445 GB, free: 384 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.4976, allocations: 1.04 MB / 0.5455 GB, free: 15.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.747e-05/0.4977, allocations: 41.7 kB / 0.5456 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004648/0.4982, allocations: 0.5811 MB / 0.5461 GB, free: 14.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.4984, allocations: 149.8 kB / 0.5463 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.4986, allocations: 150.1 kB / 0.5464 GB, free: 14.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4987, allocations: 329.9 kB / 0.5467 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.4999, allocations: 375.2 kB / 0.5471 GB, free: 13.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.5013, allocations: 0.6504 MB / 0.5477 GB, free: 12.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.5038, allocations: 0.8837 MB / 0.5486 GB, free: 11.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.5038, allocations: 5.375 kB / 0.5486 GB, free: 11.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005451/0.5092, allocations: 1.463 MB / 0.55 GB, free: 10.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5093, allocations: 8 kB / 0.55 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.5093, allocations: 4.656 kB / 0.55 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009993/0.5103, allocations: 257.5 kB / 0.5503 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008449/0.5112, allocations: 180.5 kB / 0.5504 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.5126, allocations: 0.8584 MB / 0.5513 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.5139, allocations: 159 kB / 0.5514 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/0.514, allocations: 33.08 kB / 0.5515 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001395/0.5154, allocations: 0.5597 MB / 0.552 GB, free: 8.391 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001189/0.5166, allocations: 0.6152 MB / 0.5526 GB, free: 7.652 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002086/0.5187, allocations: 0.8371 MB / 0.5534 GB, free: 6.734 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.5187, allocations: 0 / 0.5534 GB, free: 6.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.005174/0.5239, allocations: 1.411 MB / 0.5548 GB, free: 5.316 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.5239, allocations: 11.94 kB / 0.5548 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.524, allocations: 9.75 kB / 0.5548 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008851/0.5249, allocations: 276.4 kB / 0.5551 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.5255, allocations: 159.8 kB / 0.5552 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.527, allocations: 0.8497 MB / 0.5561 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.5284, allocations: 123.8 kB / 0.5562 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/0.5285, allocations: 31.98 kB / 0.5562 GB, free: 3.84 MB / 430.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 (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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003702/0.5289, allocations: 228 kB / 0.5564 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.5291, allocations: 106.7 kB / 0.5565 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004511/0.5337, allocations: 1.169 MB / 0.5577 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.5337, allocations: 7.938 kB / 0.5577 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.5337, allocations: 4 kB / 0.5577 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.5337, allocations: 3.938 kB / 0.5577 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006605/0.5403, allocations: 2.304 MB / 0.5599 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.5403, allocations: 7.062 kB / 0.56 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.5409, allocations: 104.1 kB / 0.5601 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008764/0.5418, allocations: 252.6 kB / 0.5603 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.5419, allocations: 15.98 kB / 0.5603 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.5436, allocations: 0.9085 MB / 0.5612 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5437, allocations: 4.031 kB / 0.5612 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/0.5479, allocations: 1.224 MB / 0.5624 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005223/0.5484, allocations: 263.6 kB / 0.5626 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.5486, allocations: 19.84 kB / 0.5627 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009595/0.5496, allocations: 91.89 kB / 0.5628 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.5497, allocations: 35.83 kB / 0.5628 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/0.5497, allocations: 19.98 kB / 0.5628 GB, free: 12.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001103/0.5508, allocations: 0.7241 MB / 0.5635 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5509, allocations: 0 / 0.5635 GB, free: 12.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001628/0.5525, allocations: 0.5497 MB / 0.5641 GB, free: 11.63 MB / 446.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 (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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006519/0.5531, allocations: 280.8 kB / 0.5643 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004053/0.5572, allocations: 1.351 MB / 0.5656 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.5572, allocations: 0 / 0.5656 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.559, allocations: 456.9 kB / 0.5661 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.5615, allocations: 0.5247 MB / 0.5666 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.5656, allocations: 1.896 MB / 0.5684 GB, free: 7.141 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.5662, allocations: 1.061 MB / 0.5695 GB, free: 6.051 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00113/0.5674, allocations: 249.6 kB / 0.5697 GB, free: 5.816 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.5676, allocations: 83.41 kB / 0.5698 GB, free: 5.734 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5676, allocations: 0 / 0.5698 GB, free: 5.734 MB / 446.1 MB Notification: Performance of Templates: time 0.04308/0.6107, allocations: 23.63 MB / 0.5929 GB, free: 14.32 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (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)