Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001075/0.001075, allocations: 112.7 kB / 17.04 MB, free: 5.805 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.001076/0.001076, allocations: 195 kB / 17.98 MB, free: 5.031 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.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7376/0.7376, allocations: 115.1 MB / 407 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 59.89 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3323, allocations: 76.15 MB / 0.5576 GB, free: 36.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.0503/0.3827, allocations: 61.13 MB / 0.6173 GB, free: 7.461 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01664/0.3994, allocations: 11.98 MB / 0.629 GB, free: 11.44 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.4016, allocations: 59.62 kB / 0.629 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.4035, allocations: 0.687 MB / 0.6297 GB, free: 10.69 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005426/0.409, allocations: 1.955 MB / 0.6316 GB, free: 8.727 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003022/0.412, allocations: 1.217 MB / 0.6328 GB, free: 7.523 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00417/0.4162, allocations: 3.095 MB / 0.6358 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.4176, allocations: 1.092 MB / 0.6369 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.4205, allocations: 1.336 MB / 0.6382 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.4218, allocations: 0.8944 MB / 0.6391 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.422, allocations: 112 kB / 0.6392 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.4247, allocations: 1.439 MB / 0.6406 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.425, allocations: 286.9 kB / 0.6408 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007611/0.4258, allocations: 0.6919 MB / 0.6415 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003208/0.429, allocations: 2.3 MB / 0.6438 GB, free: 12.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.429, allocations: 0 / 0.6438 GB, free: 12.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.429, allocations: 0 / 0.6438 GB, free: 12.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.712e-05/0.4291, allocations: 0 / 0.6438 GB, free: 12.23 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00318/0.4322, allocations: 1.726 MB / 0.6455 GB, free: 10.44 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.4323, allocations: 8.031 kB / 0.6455 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.4344, allocations: 410.8 kB / 0.6459 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.4367, allocations: 1.16 MB / 0.647 GB, free: 8.812 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/0.4368, allocations: 62 kB / 0.647 GB, free: 8.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.4369, allocations: 80 kB / 0.6471 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.4389, allocations: 1.005 MB / 0.6481 GB, free: 7.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.4389, allocations: 3.938 kB / 0.6481 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-05/0.439, allocations: 32 kB / 0.6481 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.439, allocations: 20 kB / 0.6482 GB, free: 7.555 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.4412, allocations: 0.8547 MB / 0.649 GB, free: 6.699 MB / 494.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.006411/0.4476, allocations: 5.24 MB / 0.6541 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.4508, allocations: 0.7886 MB / 0.6549 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006847/0.4515, allocations: 296.6 kB / 0.6552 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006264/0.4522, allocations: 0.9102 MB / 0.6561 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.4522, allocations: 34.56 kB / 0.6561 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.4522, allocations: 4 kB / 0.6561 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.008012/0.4602, allocations: 1.845 MB / 0.6579 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.4603, allocations: 55.41 kB / 0.6579 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.4619, allocations: 1.072 MB / 0.659 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/0.462, allocations: 37.7 kB / 0.659 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.4624, allocations: 0.5388 MB / 0.6596 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.4625, allocations: 153.8 kB / 0.6597 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.4628, allocations: 134.2 kB / 0.6598 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4629, allocations: 330 kB / 0.6601 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008497/0.4638, allocations: 307.3 kB / 0.6604 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.4648, allocations: 0.5307 MB / 0.661 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.4665, allocations: 0.7133 MB / 0.6617 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.4665, allocations: 4 kB / 0.6617 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002647/0.4691, allocations: 1.016 MB / 0.6626 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4692, allocations: 14.25 kB / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.4692, allocations: 4 kB / 0.6627 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.4704, allocations: 314.5 kB / 0.663 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.471, allocations: 131.8 kB / 0.6631 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.4724, allocations: 0.8996 MB / 0.664 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.4736, allocations: 155.2 kB / 0.6641 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.4737, allocations: 31.98 kB / 0.6641 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00118/0.4749, allocations: 0.509 MB / 0.6646 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001065/0.476, allocations: 0.5307 MB / 0.6652 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001636/0.4776, allocations: 0.7102 MB / 0.6659 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.4777, allocations: 0 / 0.6659 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002649/0.4803, allocations: 0.9964 MB / 0.6668 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4803, allocations: 11.94 kB / 0.6668 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4804, allocations: 4 kB / 0.6668 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.4814, allocations: 303.3 kB / 0.6671 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.482, allocations: 127.8 kB / 0.6673 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.4834, allocations: 0.8918 MB / 0.6681 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.4846, allocations: 135.5 kB / 0.6683 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/0.4847, allocations: 31.98 kB / 0.6683 GB, free: 1.84 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002161/0.4849, allocations: 225.9 kB / 0.6685 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.4851, allocations: 110.7 kB / 0.6686 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/0.4889, allocations: 1.088 MB / 0.6697 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.4889, allocations: 7.984 kB / 0.6697 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.489, allocations: 3.938 kB / 0.6697 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.489, allocations: 0 / 0.6697 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005107/0.4941, allocations: 2.15 MB / 0.6718 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.4941, allocations: 4 kB / 0.6718 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.4944, allocations: 63.89 kB / 0.6718 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000961/0.4954, allocations: 292.9 kB / 0.6721 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.4954, allocations: 15.98 kB / 0.6721 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/0.4968, allocations: 0.927 MB / 0.673 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.4969, allocations: 7.969 kB / 0.6731 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/0.5003, allocations: 1.148 MB / 0.6742 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004729/0.5008, allocations: 267.5 kB / 0.6744 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.501, allocations: 11.98 kB / 0.6744 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008411/0.5018, allocations: 75.8 kB / 0.6745 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.5019, allocations: 39.83 kB / 0.6745 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.485e-05/0.502, allocations: 23.98 kB / 0.6746 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0012/0.5032, allocations: 0.7589 MB / 0.6753 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3e-07/0.5032, allocations: 0 / 0.6753 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001593/0.5048, allocations: 0.5692 MB / 0.6759 GB, free: 9.863 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008041/0.5056, allocations: 370 kB / 0.6762 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003184/0.5088, allocations: 1.122 MB / 0.6773 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5088, allocations: 4.062 kB / 0.6773 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008804/0.5097, allocations: 354.6 kB / 0.6777 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.5119, allocations: 0.5031 MB / 0.6782 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/0.517, allocations: 1.997 MB / 0.6801 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.5177, allocations: 1.061 MB / 0.6811 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008611/0.5186, allocations: 236.3 kB / 0.6814 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.5188, allocations: 75.42 kB / 0.6814 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.5188, allocations: 0 / 0.6814 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of Templates: time 0.0397/0.5585, allocations: 24.92 MB / 0.7058 GB, free: 11.47 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)