Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001603/0.001603, allocations: 193.8 kB / 16.25 MB, free: 6.637 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.415/1.415, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4105/0.4105, allocations: 54.94 MB / 324.4 MB, free: 72 kB / 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.00254/0.00254, allocations: 75.89 kB / 394.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1671, allocations: 59.58 MB / 454.4 MB, free: 496 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.305/0.4721, allocations: 60.01 MB / 0.5024 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.4913, allocations: 11.15 MB / 0.5133 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/0.4947, allocations: 47.72 kB / 0.5133 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002911/0.4976, allocations: 0.632 MB / 0.514 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00827/0.5059, allocations: 1.799 MB / 0.5157 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003675/0.5096, allocations: 0.9229 MB / 0.5166 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006193/0.5158, allocations: 3.043 MB / 0.5196 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.5182, allocations: 1.065 MB / 0.5206 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004429/0.5226, allocations: 1.447 MB / 0.522 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/0.5246, allocations: 1 MB / 0.523 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.5249, allocations: 119.4 kB / 0.5231 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.5279, allocations: 1.226 MB / 0.5243 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003749/0.5283, allocations: 306.5 kB / 0.5246 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.5293, allocations: 0.7372 MB / 0.5253 GB, free: 456 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004483/0.5338, allocations: 2.226 MB / 0.5275 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5338, allocations: 1.188 kB / 0.5275 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5338, allocations: 0 / 0.5275 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.989e-05/0.5338, allocations: 0 / 0.5275 GB, free: 15.61 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003887/0.5377, allocations: 1.756 MB / 0.5292 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5378, allocations: 9.625 kB / 0.5292 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.5398, allocations: 360.6 kB / 0.5296 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.5418, allocations: 1.062 MB / 0.5306 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/0.5422, allocations: 123.6 kB / 0.5307 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.5423, allocations: 88.03 kB / 0.5308 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/0.5452, allocations: 1.188 MB / 0.532 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.5453, allocations: 6.641 kB / 0.532 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.5454, allocations: 41.95 kB / 0.532 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.528e-05/0.5454, allocations: 25.53 kB / 0.532 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002701/0.5482, allocations: 0.9373 MB / 0.533 GB, free: 12.01 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.007307/0.5555, allocations: 5.771 MB / 0.5386 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.5574, allocations: 0.5905 MB / 0.5392 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.5579, allocations: 233.4 kB / 0.5394 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.559, allocations: 0.8743 MB / 0.5403 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.559, allocations: 38.89 kB / 0.5403 GB, free: 4.582 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.495e-06/0.5591, allocations: 0 / 0.5403 GB, free: 4.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.007952/0.567, allocations: 1.658 MB / 0.5419 GB, free: 2.895 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.94e-05/0.5671, allocations: 158.2 kB / 0.5421 GB, free: 2.703 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.5691, allocations: 1.133 MB / 0.5432 GB, free: 1.559 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.5692, allocations: 41.7 kB / 0.5432 GB, free: 1.512 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004831/0.5697, allocations: 0.5852 MB / 0.5438 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.5699, allocations: 138 kB / 0.5439 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.5701, allocations: 150.1 kB / 0.544 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5702, allocations: 333.9 kB / 0.5444 GB, free: 308 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008365/0.5711, allocations: 307.3 kB / 0.5447 GB, free: 15.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.5722, allocations: 0.6 MB / 0.5452 GB, free: 15.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.5739, allocations: 0.7565 MB / 0.546 GB, free: 14.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.5739, allocations: 4 kB / 0.546 GB, free: 14.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005168/0.5791, allocations: 1.361 MB / 0.5473 GB, free: 13.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.5792, allocations: 11.94 kB / 0.5473 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.5792, allocations: 8 kB / 0.5473 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009492/0.5801, allocations: 269.3 kB / 0.5476 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.5808, allocations: 151.8 kB / 0.5477 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.5822, allocations: 0.8542 MB / 0.5486 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.5839, allocations: 198.9 kB / 0.5488 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.592e-05/0.584, allocations: 37.36 kB / 0.5488 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001117/0.5851, allocations: 0.4934 MB / 0.5493 GB, free: 10.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000921/0.5861, allocations: 0.57 MB / 0.5498 GB, free: 10.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001358/0.5874, allocations: 0.7043 MB / 0.5505 GB, free: 9.484 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.508e-06/0.5874, allocations: 4 kB / 0.5505 GB, free: 9.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.004631/0.5921, allocations: 1.311 MB / 0.5518 GB, free: 8.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.5921, allocations: 8 kB / 0.5518 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.5921, allocations: 11.94 kB / 0.5518 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008716/0.593, allocations: 258.3 kB / 0.5521 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.5936, allocations: 151.7 kB / 0.5522 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.5949, allocations: 0.8532 MB / 0.5531 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.5966, allocations: 159.7 kB / 0.5532 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.5966, allocations: 31.98 kB / 0.5532 GB, free: 6.676 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0003174/0.597, allocations: 232 kB / 0.5535 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.5972, allocations: 110.7 kB / 0.5536 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004298/0.6015, allocations: 1.068 MB / 0.5546 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.6015, allocations: 4 kB / 0.5546 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6015, allocations: 0 / 0.5546 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6015, allocations: 0 / 0.5546 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005041/0.6066, allocations: 1.966 MB / 0.5565 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6066, allocations: 4.312 kB / 0.5565 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.6069, allocations: 68.77 kB / 0.5566 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008418/0.6078, allocations: 252.6 kB / 0.5568 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.6078, allocations: 15.98 kB / 0.5569 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.6096, allocations: 0.9066 MB / 0.5577 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6096, allocations: 3.938 kB / 0.5577 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/0.6131, allocations: 1.067 MB / 0.5588 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009276/0.614, allocations: 260.4 kB / 0.559 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.6142, allocations: 15.92 kB / 0.559 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.6152, allocations: 99.89 kB / 0.5591 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.6154, allocations: 35.89 kB / 0.5592 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.537e-05/0.6154, allocations: 23.98 kB / 0.5592 GB, free: 380 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001371/0.6168, allocations: 0.7835 MB / 0.56 GB, free: 15.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6168, allocations: 0 / 0.56 GB, free: 15.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001968/0.6188, allocations: 0.5653 MB / 0.5605 GB, free: 15.02 MB / 446.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 (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.0008279/0.6196, allocations: 290.1 kB / 0.5608 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00331/0.623, allocations: 1.098 MB / 0.5619 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/0.623, allocations: 0 / 0.5619 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.6242, allocations: 360.5 kB / 0.5622 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.6269, allocations: 0.5623 MB / 0.5628 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.631, allocations: 2.206 MB / 0.5649 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006084/0.6316, allocations: 1.066 MB / 0.566 GB, free: 9.422 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001143/0.6328, allocations: 240.5 kB / 0.5662 GB, free: 9.199 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.633, allocations: 83.42 kB / 0.5663 GB, free: 9.117 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.633, allocations: 0 / 0.5663 GB, free: 9.117 MB / 446.1 MB Notification: Performance of Templates: time 0.04034/0.6733, allocations: 24.2 MB / 0.5899 GB, free: 1.145 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)