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.0007783/0.0007782, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006079/0.006079, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.556/1.556, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4296/0.4296, allocations: 55.02 MB / 325.8 MB, free: 0.5234 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.0005786/0.0005786, allocations: 19.98 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4109, allocations: 60.71 MB / 458 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.01947/0.4304, allocations: 21.93 MB / 479.9 MB, free: 25.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007638/0.4381, allocations: 4.507 MB / 484.4 MB, free: 22.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.4396, allocations: 15.81 kB / 484.4 MB, free: 22.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.4412, allocations: 368.8 kB / 484.8 MB, free: 22.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003829/0.4451, allocations: 0.9439 MB / 485.7 MB, free: 22.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.4477, allocations: 0.6752 MB / 486.4 MB, free: 21.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003777/0.4515, allocations: 2.375 MB / 488.8 MB, free: 20.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.453, allocations: 489.5 kB / 489.2 MB, free: 20.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.4557, allocations: 0.7634 MB / 490 MB, free: 20.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.4575, allocations: 0.6569 MB / 490.7 MB, free: 20.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002949/0.4578, allocations: 35.7 kB / 490.7 MB, free: 20.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.4599, allocations: 0.6268 MB / 491.3 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00045/0.4604, allocations: 190 kB / 491.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.4617, allocations: 437.8 kB / 491.9 MB, free: 19.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003385/0.4651, allocations: 1.282 MB / 493.2 MB, free: 19.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.4651, allocations: 0 / 493.2 MB, free: 19.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.706e-06/0.4651, allocations: 0 / 493.2 MB, free: 19.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.246e-05/0.4652, allocations: 0 / 493.2 MB, free: 19.23 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.002899/0.4681, allocations: 1.115 MB / 494.3 MB, free: 18.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.4682, allocations: 10.19 kB / 494.4 MB, free: 18.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003896/0.4721, allocations: 0.5635 MB / 494.9 MB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.4734, allocations: 0.5762 MB / 495.5 MB, free: 17.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.329e-05/0.4735, allocations: 45.88 kB / 495.5 MB, free: 17.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.4736, allocations: 64.31 kB / 495.6 MB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/0.4763, allocations: 1.102 MB / 496.7 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.4764, allocations: 3.562 kB / 496.7 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.4765, allocations: 30.12 kB / 496.7 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-05/0.4765, allocations: 22.62 kB / 496.8 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/0.4797, allocations: 1.006 MB / 497.8 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006478/0.4862, allocations: 4.978 MB / 0.491 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/0.4891, allocations: 0.7813 MB / 0.4917 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.4905, allocations: 465.9 kB / 0.4922 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006544/0.4912, allocations: 0.8204 MB / 0.493 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001823/0.4931, allocations: 0.6742 MB / 0.4936 GB, free: 11.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 4.018e-06/0.4931, allocations: 0 / 0.4936 GB, free: 11.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.005519/0.4986, allocations: 1.578 MB / 0.4952 GB, free: 10.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002051/0.4988, allocations: 352.8 kB / 0.4955 GB, free: 10.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.5008, allocations: 0.7499 MB / 0.4962 GB, free: 10.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.827e-05/0.5009, allocations: 33.95 kB / 0.4963 GB, free: 10.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/0.5014, allocations: 438.6 kB / 0.4967 GB, free: 9.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.5017, allocations: 139.9 kB / 0.4968 GB, free: 9.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.5018, allocations: 64.81 kB / 0.4969 GB, free: 9.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5019, allocations: 334 kB / 0.4972 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.5035, allocations: 451 kB / 0.4976 GB, free: 9.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.5052, allocations: 0.7274 MB / 0.4983 GB, free: 8.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.5083, allocations: 1.248 MB / 0.4996 GB, free: 8.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.5083, allocations: 2.75 kB / 0.4996 GB, free: 8.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003819/0.5122, allocations: 1.412 MB / 0.5009 GB, free: 7.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.325e-05/0.5123, allocations: 116.2 kB / 0.5011 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.5123, allocations: 7.969 kB / 0.5011 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.921e-05/0.5123, allocations: 10.47 kB / 0.5011 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.5134, allocations: 218.3 kB / 0.5013 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.207e-05/0.5135, allocations: 17.94 kB / 0.5013 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.515, allocations: 200 kB / 0.5015 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.5152, allocations: 39.89 kB / 0.5015 GB, free: 7.414 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.0007067/0.5159, allocations: 363 kB / 0.5019 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.5162, allocations: 93.5 kB / 0.502 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004572/0.5207, allocations: 1.71 MB / 0.5036 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/0.5208, allocations: 9.531 kB / 0.5036 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.5208, allocations: 0 / 0.5036 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.5208, allocations: 3.297 kB / 0.5036 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.5223, allocations: 0.7556 MB / 0.5044 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.5224, allocations: 0 / 0.5044 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008429/0.5232, allocations: 150.7 kB / 0.5045 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/0.5232, allocations: 8.25 kB / 0.5045 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-05/0.5233, allocations: 22.89 kB / 0.5046 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.5233, allocations: 5.938 kB / 0.5046 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5233, allocations: 0.7031 kB / 0.5046 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/0.5269, allocations: 1.347 MB / 0.5059 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/0.5274, allocations: 191.2 kB / 0.5061 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/0.5277, allocations: 18.81 kB / 0.5061 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.5289, allocations: 132.5 kB / 0.5062 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.529, allocations: 30.47 kB / 0.5062 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.5291, allocations: 25.08 kB / 0.5063 GB, free: 5.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001149/0.5303, allocations: 0.576 MB / 0.5068 GB, free: 5.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.5303, allocations: 0 / 0.5068 GB, free: 5.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001695/0.532, allocations: 343.9 kB / 0.5071 GB, free: 5.156 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.001116/0.5331, allocations: 339.6 kB / 0.5075 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00404/0.5372, allocations: 1.319 MB / 0.5088 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5372, allocations: 0 / 0.5088 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.539, allocations: 0.7607 MB / 0.5095 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.5412, allocations: 297 kB / 0.5098 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.5464, allocations: 1.976 MB / 0.5117 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/0.5471, allocations: 0.9842 MB / 0.5127 GB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.5481, allocations: 182.8 kB / 0.5128 GB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.5484, allocations: 84.91 kB / 0.5129 GB, free: 2.223 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5484, allocations: 0 / 0.5129 GB, free: 2.223 MB / 382.1 MB Notification: Performance of Templates: time 0.03161/0.58, allocations: 16.41 MB / 0.529 GB, free: 2.496 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: