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.001023/0.001022, 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.001038/0.001039, allocations: 189.5 kB / 16.25 MB, free: 6.625 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.405/1.405, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3847/0.3847, allocations: 54.93 MB / 324.4 MB, free: 144 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.001405/0.001405, allocations: 67.91 kB / 394.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1475, allocations: 59.6 MB / 454.4 MB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.272/0.4195, allocations: 22.5 MB / 476.9 MB, free: 25.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006324/0.4259, allocations: 4.456 MB / 481.4 MB, free: 22.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008344/0.4268, allocations: 16.59 kB / 481.4 MB, free: 22.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.4282, allocations: 380.4 kB / 481.8 MB, free: 22.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.4309, allocations: 0.9549 MB / 482.7 MB, free: 21.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.4331, allocations: 0.7146 MB / 483.5 MB, free: 21.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002178/0.4353, allocations: 1.796 MB / 485.3 MB, free: 20.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008221/0.4361, allocations: 0.5508 MB / 485.8 MB, free: 20.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.4377, allocations: 0.8644 MB / 486.7 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007901/0.4385, allocations: 0.6756 MB / 487.3 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.729e-05/0.4386, allocations: 60 kB / 487.4 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.4401, allocations: 0.685 MB / 488.1 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.4403, allocations: 208.8 kB / 488.3 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.4408, allocations: 450.4 kB / 488.7 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.4423, allocations: 1.32 MB / 490.1 MB, free: 18.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4423, allocations: 6.625 kB / 490.1 MB, free: 18.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4423, allocations: 0 / 490.1 MB, free: 18.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.4423, allocations: 0 / 490.1 MB, free: 18.7 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.001684/0.444, allocations: 1.274 MB / 491.3 MB, free: 17.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.4441, allocations: 15.5 kB / 491.4 MB, free: 17.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003325/0.4474, allocations: 0.5282 MB / 491.9 MB, free: 17.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007871/0.4482, allocations: 0.5706 MB / 492.4 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.4483, allocations: 46.67 kB / 492.5 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.4484, allocations: 60.53 kB / 492.6 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.4508, allocations: 1.094 MB / 493.6 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.4508, allocations: 3 kB / 493.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.4509, allocations: 30.75 kB / 493.7 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.451, allocations: 22.56 kB / 493.7 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002876/0.4539, allocations: 0.9963 MB / 494.7 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005566/0.4594, allocations: 4.95 MB / 499.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/0.4621, allocations: 0.773 MB / 0.4887 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.4636, allocations: 459.5 kB / 0.4891 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006873/0.4643, allocations: 0.8218 MB / 0.4899 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001799/0.4661, allocations: 0.6634 MB / 0.4906 GB, free: 10.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 3.307e-06/0.4661, allocations: 2 kB / 0.4906 GB, free: 10.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.00486/0.471, allocations: 1.553 MB / 0.4921 GB, free: 10.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.4712, allocations: 351.9 kB / 0.4924 GB, free: 9.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.4724, allocations: 0.7512 MB / 0.4932 GB, free: 9.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.079e-05/0.4725, allocations: 33.83 kB / 0.4932 GB, free: 9.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/0.4729, allocations: 438.9 kB / 0.4936 GB, free: 9.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.4731, allocations: 146.5 kB / 0.4938 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003435/0.4734, allocations: 153.4 kB / 0.4939 GB, free: 9.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4735, allocations: 333.3 kB / 0.4942 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.4749, allocations: 451.2 kB / 0.4947 GB, free: 8.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.4765, allocations: 0.7103 MB / 0.4953 GB, free: 8.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.4791, allocations: 1.245 MB / 0.4966 GB, free: 7.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.4792, allocations: 1.812 kB / 0.4966 GB, free: 7.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003491/0.4827, allocations: 1.396 MB / 0.4979 GB, free: 6.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.944e-05/0.4828, allocations: 108.1 kB / 0.498 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.4828, allocations: 7.953 kB / 0.498 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/0.4828, allocations: 11 kB / 0.4981 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.4839, allocations: 213.7 kB / 0.4983 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-05/0.4839, allocations: 21.17 kB / 0.4983 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.4854, allocations: 193.9 kB / 0.4985 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.4855, allocations: 44.94 kB / 0.4985 GB, free: 6.734 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.0005681/0.4861, allocations: 358 kB / 0.4988 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.4863, allocations: 94.59 kB / 0.4989 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/0.4903, allocations: 1.685 MB / 0.5006 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.4903, allocations: 5.109 kB / 0.5006 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.4904, allocations: 1 kB / 0.5006 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.4904, allocations: 3.25 kB / 0.5006 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.4915, allocations: 0.7698 MB / 0.5013 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4915, allocations: 2.312 kB / 0.5013 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008321/0.4924, allocations: 146 kB / 0.5015 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.4924, allocations: 1.375 kB / 0.5015 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.89e-05/0.4925, allocations: 23.98 kB / 0.5015 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.4925, allocations: 2.984 kB / 0.5015 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4925, allocations: 0 / 0.5015 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/0.4957, allocations: 1.327 MB / 0.5028 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.496, allocations: 166.7 kB / 0.503 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.4962, allocations: 23.31 kB / 0.503 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009472/0.4971, allocations: 115.7 kB / 0.5031 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.4972, allocations: 35.09 kB / 0.5031 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.4973, allocations: 26.28 kB / 0.5032 GB, free: 4.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008779/0.4982, allocations: 0.5764 MB / 0.5037 GB, free: 4.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4982, allocations: 0 / 0.5037 GB, free: 4.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001306/0.4995, allocations: 338.1 kB / 0.504 GB, free: 4.496 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.0008031/0.5003, allocations: 346 kB / 0.5044 GB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003627/0.504, allocations: 1.323 MB / 0.5057 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.504, allocations: 5.438 kB / 0.5057 GB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.5056, allocations: 0.7413 MB / 0.5064 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.5072, allocations: 317.9 kB / 0.5067 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.5111, allocations: 1.932 MB / 0.5086 GB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.5116, allocations: 0.9973 MB / 0.5096 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008121/0.5124, allocations: 182 kB / 0.5097 GB, free: 1.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.5127, allocations: 83.84 kB / 0.5098 GB, free: 1.555 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5127, allocations: 4 kB / 0.5098 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Templates: time 0.03115/0.5438, allocations: 17.1 MB / 0.5265 GB, free: 2.398 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)