Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.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.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState") translateModel(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008548/0.008548, allocations: 102 kB / 15.73 MB, free: 6.039 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.001276/0.001276, allocations: 193 kB / 16.67 MB, free: 5.961 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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2753/0.2753, allocations: 54.96 MB / 324.9 MB, free: 4.84 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.001491/0.001491, allocations: 71.84 kB / 456.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1225, allocations: 59.6 MB / 0.5037 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.02291/0.1454, allocations: 22.65 MB / 0.5258 GB, free: 332 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2837/0.4292, allocations: 4.458 MB / 0.5302 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007961/0.43, allocations: 20.12 kB / 0.5302 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.4313, allocations: 435.2 kB / 0.5306 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.4346, allocations: 1.017 MB / 0.5316 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.4372, allocations: 0.7919 MB / 0.5324 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003013/0.4402, allocations: 1.792 MB / 0.5341 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.4412, allocations: 0.5581 MB / 0.5347 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.4435, allocations: 0.8599 MB / 0.5355 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.4447, allocations: 0.6539 MB / 0.5362 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.4449, allocations: 61.19 kB / 0.5362 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.447, allocations: 0.6768 MB / 0.5369 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.4472, allocations: 210.8 kB / 0.5371 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006013/0.4478, allocations: 448.5 kB / 0.5375 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.4507, allocations: 1.325 MB / 0.5388 GB, free: 6.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.4507, allocations: 4.719 kB / 0.5388 GB, free: 6.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4507, allocations: 0 / 0.5388 GB, free: 6.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.4507, allocations: 0 / 0.5388 GB, free: 6.305 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002283/0.453, allocations: 1.279 MB / 0.5401 GB, free: 5.492 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4531, allocations: 10.12 kB / 0.5401 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003683/0.4568, allocations: 0.5302 MB / 0.5406 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.4582, allocations: 0.6008 MB / 0.5412 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.228e-05/0.4583, allocations: 47.55 kB / 0.5412 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.4584, allocations: 64.31 kB / 0.5413 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.461, allocations: 1.092 MB / 0.5423 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.461, allocations: 6.719 kB / 0.5424 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-05/0.4611, allocations: 27.89 kB / 0.5424 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/0.4612, allocations: 24.5 kB / 0.5424 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/0.4641, allocations: 0.9867 MB / 0.5434 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005694/0.4698, allocations: 4.953 MB / 0.5482 GB, free: 17.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.4724, allocations: 0.7732 MB / 0.549 GB, free: 16.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.4738, allocations: 457.2 kB / 0.5494 GB, free: 16.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006364/0.4744, allocations: 0.8239 MB / 0.5502 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/0.4761, allocations: 0.6665 MB / 0.5508 GB, free: 15.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.905e-06/0.4761, allocations: 0 / 0.5508 GB, free: 15.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.004983/0.4811, allocations: 1.55 MB / 0.5524 GB, free: 15.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002505/0.4813, allocations: 351.6 kB / 0.5527 GB, free: 14.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.4828, allocations: 0.7461 MB / 0.5534 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.829e-05/0.4829, allocations: 38.33 kB / 0.5535 GB, free: 14.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/0.4834, allocations: 442.3 kB / 0.5539 GB, free: 14.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.4836, allocations: 143.7 kB / 0.554 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.484, allocations: 159 kB / 0.5542 GB, free: 13.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4841, allocations: 332.6 kB / 0.5545 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.4854, allocations: 448.1 kB / 0.5549 GB, free: 13.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.4871, allocations: 0.7108 MB / 0.5556 GB, free: 12.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/0.49, allocations: 1.246 MB / 0.5568 GB, free: 12.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.49, allocations: 6.312 kB / 0.5568 GB, free: 12.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003733/0.4938, allocations: 1.388 MB / 0.5582 GB, free: 11.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.928e-05/0.4939, allocations: 112.9 kB / 0.5583 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.4939, allocations: 6.406 kB / 0.5583 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.4939, allocations: 12.47 kB / 0.5583 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.495, allocations: 220.5 kB / 0.5585 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.495, allocations: 17.66 kB / 0.5585 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.4964, allocations: 170.8 kB / 0.5587 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.4966, allocations: 45.27 kB / 0.5588 GB, free: 11.55 MB / 430.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: 21 (TSetCoolHeat.nextEventScaled,TSetCoolHeat.nextEvent,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.b,TSetCoolHeat.a,TSetCool.nextEventScaled,TSetCool.nextEvent,$PRE.TSetCool.nextEvent,TSetCool.last,TSetCool.b,TSetCool.a,TSetHeat.nextEventScaled,TSetHeat.nextEvent,$PRE.TSetHeat.nextEvent,TSetHeat.last,TSetHeat.b,TSetHeat.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007047/0.4973, allocations: 351.9 kB / 0.5591 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.4975, allocations: 93.56 kB / 0.5592 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004279/0.5018, allocations: 1.696 MB / 0.5608 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.5018, allocations: 7.109 kB / 0.5608 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5019, allocations: 2.219 kB / 0.5608 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.5019, allocations: 3.984 kB / 0.5608 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.5032, allocations: 0.7581 MB / 0.5616 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5032, allocations: 3.938 kB / 0.5616 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/0.504, allocations: 138.9 kB / 0.5617 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.504, allocations: 6.375 kB / 0.5617 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.704e-05/0.5041, allocations: 23.39 kB / 0.5617 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.5041, allocations: 1.25 kB / 0.5618 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5041, allocations: 1.25 kB / 0.5618 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/0.5077, allocations: 1.334 MB / 0.5631 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.5081, allocations: 162.7 kB / 0.5632 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.5083, allocations: 34.83 kB / 0.5632 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009378/0.5092, allocations: 106.7 kB / 0.5633 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.5094, allocations: 29.83 kB / 0.5634 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/0.5095, allocations: 28.55 kB / 0.5634 GB, free: 8.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009969/0.5105, allocations: 0.577 MB / 0.564 GB, free: 8.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5105, allocations: 0 / 0.564 GB, free: 8.527 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001313/0.5118, allocations: 335.5 kB / 0.5643 GB, free: 8.469 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009067/0.5127, allocations: 343.3 kB / 0.5646 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003379/0.5161, allocations: 1.299 MB / 0.5659 GB, free: 7.605 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5161, allocations: 448 / 0.5659 GB, free: 7.605 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.5177, allocations: 0.7433 MB / 0.5666 GB, free: 7.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.5197, allocations: 312.3 kB / 0.5669 GB, free: 6.977 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.5237, allocations: 1.64 MB / 0.5685 GB, free: 6.082 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.5245, allocations: 0.9837 MB / 0.5695 GB, free: 5.254 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000781/0.5253, allocations: 185.4 kB / 0.5696 GB, free: 5.172 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.5256, allocations: 83.58 kB / 0.5697 GB, free: 5.148 MB / 430.1 MB Notification: Performance of SimCode: time 1.633e-06/0.5256, allocations: 0 / 0.5697 GB, free: 5.148 MB / 430.1 MB Notification: Performance of Templates: time 0.02934/0.5549, allocations: 17.25 MB / 0.5866 GB, free: 6.336 MB / 446.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe 2>&1)