Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 99.86 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.001462/0.001462, 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.398/1.398, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3826/0.3826, allocations: 54.98 MB / 325.4 MB, free: 0.7109 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.0005438/0.0005438, allocations: 16 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3241, allocations: 60.72 MB / 457.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.03845/0.3626, allocations: 50.66 MB / 0.4961 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.3751, allocations: 9.655 MB / 0.5055 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.3769, allocations: 41.97 kB / 0.5055 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002279/0.3792, allocations: 0.5805 MB / 0.5061 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006796/0.386, allocations: 1.873 MB / 0.5079 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.3894, allocations: 0.8293 MB / 0.5087 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004082/0.3935, allocations: 1.807 MB / 0.5105 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.3949, allocations: 0.7984 MB / 0.5113 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.3978, allocations: 1.066 MB / 0.5123 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.3994, allocations: 0.6404 MB / 0.5129 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.3996, allocations: 45.38 kB / 0.513 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.4021, allocations: 0.7917 MB / 0.5138 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.4024, allocations: 210.4 kB / 0.514 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004879/0.4029, allocations: 299.7 kB / 0.5142 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.4054, allocations: 1.573 MB / 0.5158 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4054, allocations: 0 / 0.5158 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4054, allocations: 4.938 kB / 0.5158 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.58e-05/0.4055, allocations: 0 / 0.5158 GB, free: 10.84 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00329/0.4088, allocations: 1.49 MB / 0.5172 GB, free: 9.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4088, allocations: 8.281 kB / 0.5173 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/0.4116, allocations: 497.7 kB / 0.5177 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/0.4142, allocations: 1.062 MB / 0.5188 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003969/0.4146, allocations: 131.7 kB / 0.5189 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.4148, allocations: 86.94 kB / 0.519 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002882/0.4177, allocations: 1.249 MB / 0.5202 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.4177, allocations: 6.406 kB / 0.5202 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.4179, allocations: 46.69 kB / 0.5202 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/0.4179, allocations: 30.66 kB / 0.5203 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.4208, allocations: 1.061 MB / 0.5213 GB, free: 7.891 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.007403/0.4282, allocations: 5.901 MB / 0.5271 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.4306, allocations: 0.752 MB / 0.5278 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000346/0.4309, allocations: 424.4 kB / 0.5282 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.431, allocations: 39.11 kB / 0.5282 GB, free: 1.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.665e-06/0.431, allocations: 0 / 0.5282 GB, free: 1.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.008315/0.4393, allocations: 1.979 MB / 0.5302 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.4394, allocations: 162.3 kB / 0.5303 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.4413, allocations: 1.151 MB / 0.5315 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.4414, allocations: 37.7 kB / 0.5315 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005053/0.4419, allocations: 0.5891 MB / 0.5321 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.4421, allocations: 137.9 kB / 0.5322 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.4421, allocations: 16 kB / 0.5322 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.4422, allocations: 334 kB / 0.5325 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.4433, allocations: 365.1 kB / 0.5329 GB, free: 14.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.4445, allocations: 0.6634 MB / 0.5335 GB, free: 13.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.4456, allocations: 420.5 kB / 0.5339 GB, free: 13.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.4456, allocations: 7.953 kB / 0.5339 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005394/0.451, allocations: 1.553 MB / 0.5355 GB, free: 11.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001029/0.452, allocations: 2.808 MB / 0.5382 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.4521, allocations: 11.62 kB / 0.5382 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.4531, allocations: 284.5 kB / 0.5385 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/0.4539, allocations: 175.8 kB / 0.5386 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.4553, allocations: 0.8779 MB / 0.5395 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.4571, allocations: 231 kB / 0.5397 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.241e-05/0.4572, allocations: 35.98 kB / 0.5398 GB, free: 6.984 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.4572, allocations: 11.94 kB / 0.5398 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004792/0.462, allocations: 1.35 MB / 0.5411 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.462, allocations: 15.92 kB / 0.5411 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008926/0.4629, allocations: 273.3 kB / 0.5414 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/0.4636, allocations: 167.7 kB / 0.5415 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.4649, allocations: 0.8848 MB / 0.5424 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.4664, allocations: 191.1 kB / 0.5426 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/0.4664, allocations: 28.7 kB / 0.5426 GB, free: 4.043 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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.0006371/0.4671, allocations: 364.9 kB / 0.5429 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.4673, allocations: 118.5 kB / 0.5431 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004818/0.4721, allocations: 1.244 MB / 0.5443 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.4721, allocations: 7.953 kB / 0.5443 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4722, allocations: 0 / 0.5443 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.4722, allocations: 7.984 kB / 0.5443 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/0.4763, allocations: 1.936 MB / 0.5462 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4763, allocations: 0 / 0.5462 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.4767, allocations: 88.17 kB / 0.5463 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009361/0.4777, allocations: 273.6 kB / 0.5465 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.4777, allocations: 19.92 kB / 0.5465 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.4791, allocations: 0.8685 MB / 0.5474 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4791, allocations: 7.656 kB / 0.5474 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.4816, allocations: 1.145 MB / 0.5485 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006093/0.4822, allocations: 283.4 kB / 0.5488 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.4825, allocations: 11.98 kB / 0.5488 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.4837, allocations: 131.8 kB / 0.5489 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.4838, allocations: 35.84 kB / 0.549 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.975e-05/0.4838, allocations: 23.98 kB / 0.549 GB, free: 13.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001339/0.4852, allocations: 0.7991 MB / 0.5498 GB, free: 12.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4852, allocations: 0 / 0.5498 GB, free: 12.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001818/0.487, allocations: 0.5498 MB / 0.5503 GB, free: 11.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006185/0.4876, allocations: 286.4 kB / 0.5506 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003679/0.4913, allocations: 1.274 MB / 0.5518 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.4914, allocations: 4 kB / 0.5518 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000936/0.4923, allocations: 348.2 kB / 0.5522 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.495, allocations: 0.542 MB / 0.5527 GB, free: 9.484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005703/0.5007, allocations: 2.476 MB / 0.5551 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.5014, allocations: 1.081 MB / 0.5562 GB, free: 5.832 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001239/0.5026, allocations: 235.8 kB / 0.5564 GB, free: 5.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.5029, allocations: 91.34 kB / 0.5565 GB, free: 5.516 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5029, allocations: 0 / 0.5565 GB, free: 5.516 MB / 430.1 MB Notification: Performance of Templates: time 0.03704/0.54, allocations: 22.92 MB / 0.5788 GB, free: 14.81 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) Environment - environmentSimulation: