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.001311/0.001311, 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.001322/0.001322, allocations: 195.5 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.409/1.409, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4149/0.4149, allocations: 54.95 MB / 324.7 MB, free: 15.88 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.001666/0.001666, allocations: 71.89 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1449, allocations: 59.6 MB / 454.9 MB, free: 136 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.2795/0.4245, allocations: 22.64 MB / 477.6 MB, free: 25.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006094/0.4307, allocations: 4.461 MB / 482 MB, free: 22.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007516/0.4315, allocations: 18.16 kB / 482 MB, free: 22.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.4326, allocations: 435.1 kB / 482.5 MB, free: 22.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.4349, allocations: 1.022 MB / 483.5 MB, free: 21.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.4372, allocations: 0.7939 MB / 484.3 MB, free: 21.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002302/0.4395, allocations: 1.784 MB / 486.1 MB, free: 20.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008056/0.4403, allocations: 0.5585 MB / 486.6 MB, free: 20.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.4418, allocations: 0.8569 MB / 487.5 MB, free: 19.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007348/0.4425, allocations: 0.6507 MB / 488.1 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.4426, allocations: 60.59 kB / 488.2 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.4441, allocations: 0.6725 MB / 488.9 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.4443, allocations: 207.6 kB / 489.1 MB, free: 19.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.4447, allocations: 450.3 kB / 489.5 MB, free: 18.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.4462, allocations: 1.311 MB / 490.8 MB, free: 18.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4462, allocations: 0 / 490.8 MB, free: 18.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4462, allocations: 0 / 490.8 MB, free: 18.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.4463, allocations: 3.938 kB / 490.8 MB, free: 18.41 MB / 382.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.001603/0.4479, allocations: 1.28 MB / 492.1 MB, free: 17.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4479, allocations: 12.19 kB / 492.1 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003407/0.4513, allocations: 0.5268 MB / 492.6 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008719/0.4522, allocations: 0.5711 MB / 493.2 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.4523, allocations: 56.8 kB / 493.3 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.4524, allocations: 63.41 kB / 493.3 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.4546, allocations: 1.086 MB / 494.4 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.4546, allocations: 10.22 kB / 494.4 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.22e-05/0.4547, allocations: 29.38 kB / 494.5 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.4548, allocations: 18.78 kB / 494.5 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/0.4576, allocations: 0.9932 MB / 495.5 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00494/0.4626, allocations: 4.972 MB / 0.4887 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.465, allocations: 0.7685 MB / 0.4895 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.4664, allocations: 460.5 kB / 0.4899 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005778/0.467, allocations: 0.8255 MB / 0.4907 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001626/0.4686, allocations: 0.6685 MB / 0.4914 GB, free: 10.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.114e-06/0.4686, allocations: 0 / 0.4914 GB, free: 10.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.005149/0.4738, allocations: 1.546 MB / 0.4929 GB, free: 10.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002071/0.474, allocations: 355.2 kB / 0.4932 GB, free: 9.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.4762, allocations: 0.7464 MB / 0.4939 GB, free: 9.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.4763, allocations: 34.42 kB / 0.494 GB, free: 9.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.4767, allocations: 438.3 kB / 0.4944 GB, free: 8.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.4769, allocations: 143.2 kB / 0.4945 GB, free: 8.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003978/0.4773, allocations: 158 kB / 0.4947 GB, free: 8.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4775, allocations: 333.1 kB / 0.495 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.479, allocations: 442 kB / 0.4954 GB, free: 8.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.4808, allocations: 0.7252 MB / 0.4961 GB, free: 7.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/0.484, allocations: 1.236 MB / 0.4973 GB, free: 7.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.484, allocations: 3.812 kB / 0.4973 GB, free: 7.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003936/0.488, allocations: 1.398 MB / 0.4987 GB, free: 6.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.222e-05/0.4881, allocations: 107.1 kB / 0.4988 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.4881, allocations: 7.75 kB / 0.4988 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.175e-05/0.4882, allocations: 12.5 kB / 0.4988 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.4892, allocations: 217.3 kB / 0.499 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-05/0.4893, allocations: 15.67 kB / 0.499 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.4908, allocations: 179.1 kB / 0.4992 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.491, allocations: 41.11 kB / 0.4993 GB, free: 6.453 MB / 382.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.0006198/0.4916, allocations: 354.8 kB / 0.4996 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.4919, allocations: 94.16 kB / 0.4997 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004187/0.4961, allocations: 1.689 MB / 0.5013 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.4961, allocations: 5.969 kB / 0.5013 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4961, allocations: 1.25 kB / 0.5013 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4962, allocations: 2.156 kB / 0.5013 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.4974, allocations: 0.77 MB / 0.5021 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.4974, allocations: 7.875 kB / 0.5021 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008231/0.4983, allocations: 142.5 kB / 0.5022 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.4983, allocations: 3.344 kB / 0.5022 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.309e-05/0.4984, allocations: 19.89 kB / 0.5023 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.4984, allocations: 2.219 kB / 0.5023 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4984, allocations: 1.25 kB / 0.5023 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/0.502, allocations: 1.322 MB / 0.5036 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.5023, allocations: 171.1 kB / 0.5037 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/0.5026, allocations: 23.69 kB / 0.5037 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.5037, allocations: 113 kB / 0.5038 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.5038, allocations: 28.55 kB / 0.5039 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.5039, allocations: 26.73 kB / 0.5039 GB, free: 4.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001004/0.5049, allocations: 0.5756 MB / 0.5045 GB, free: 4.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5049, allocations: 0.5625 kB / 0.5045 GB, free: 4.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001679/0.5066, allocations: 343.4 kB / 0.5048 GB, free: 4.207 MB / 382.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.001054/0.5077, allocations: 336 kB / 0.5051 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003815/0.5115, allocations: 1.328 MB / 0.5064 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5115, allocations: 0.8438 kB / 0.5064 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.5132, allocations: 0.7428 MB / 0.5071 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.515, allocations: 320.3 kB / 0.5074 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.5192, allocations: 1.647 MB / 0.509 GB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/0.52, allocations: 0.9919 MB / 0.51 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00105/0.521, allocations: 186 kB / 0.5102 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.5213, allocations: 84.12 kB / 0.5103 GB, free: 1.559 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5214, allocations: 0 / 0.5103 GB, free: 1.559 MB / 382.1 MB Notification: Performance of Templates: time 0.03201/0.5534, allocations: 17.26 MB / 0.5271 GB, free: 1.871 MB / 398.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)