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.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00112/0.00112, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.426/1.426, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.454/0.454, allocations: 54.93 MB / 324.3 MB, free: 100 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.001396/0.001396, allocations: 71.89 kB / 394.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1528, allocations: 59.58 MB / 454.3 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.283/0.4358, allocations: 22.54 MB / 476.8 MB, free: 25.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005308/0.4411, allocations: 4.572 MB / 481.4 MB, free: 22.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004805/0.4416, allocations: 20.97 kB / 481.4 MB, free: 22.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008806/0.4426, allocations: 357.8 kB / 481.7 MB, free: 22.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.4444, allocations: 0.9505 MB / 482.7 MB, free: 21.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.4463, allocations: 0.6805 MB / 483.4 MB, free: 21.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.4483, allocations: 2.364 MB / 485.7 MB, free: 20.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005494/0.4488, allocations: 0.4975 MB / 486.2 MB, free: 20.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.4502, allocations: 0.7704 MB / 487 MB, free: 20.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008439/0.451, allocations: 0.6706 MB / 487.7 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.71e-05/0.4511, allocations: 37.28 kB / 487.7 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.4524, allocations: 0.6414 MB / 488.4 MB, free: 19.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.4526, allocations: 188.7 kB / 488.5 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.453, allocations: 424.2 kB / 489 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.4543, allocations: 1.281 MB / 490.2 MB, free: 18.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4543, allocations: 0 / 490.2 MB, free: 18.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.4543, allocations: 0 / 490.2 MB, free: 18.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.4543, allocations: 0 / 490.2 MB, free: 18.89 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.001837/0.4562, allocations: 1.286 MB / 491.5 MB, free: 17.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4562, allocations: 10.5 kB / 491.5 MB, free: 17.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.4598, allocations: 0.5286 MB / 492.1 MB, free: 17.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.4608, allocations: 0.5732 MB / 492.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.4609, allocations: 47.2 kB / 492.7 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.461, allocations: 63.69 kB / 492.7 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.4635, allocations: 1.091 MB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.4635, allocations: 6.625 kB / 493.8 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-05/0.4636, allocations: 30.19 kB / 493.9 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-05/0.4637, allocations: 22.16 kB / 493.9 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002776/0.4665, allocations: 0.9953 MB / 494.9 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00557/0.472, allocations: 4.95 MB / 499.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.4746, allocations: 0.7728 MB / 0.4889 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.476, allocations: 460.5 kB / 0.4893 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006143/0.4766, allocations: 0.8252 MB / 0.4901 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001752/0.4784, allocations: 0.6673 MB / 0.4908 GB, free: 11.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 4.539e-06/0.4784, allocations: 1 kB / 0.4908 GB, free: 11.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.004565/0.483, allocations: 1.549 MB / 0.4923 GB, free: 10.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.4831, allocations: 351.3 kB / 0.4926 GB, free: 10.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.4841, allocations: 0.7511 MB / 0.4934 GB, free: 9.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.4842, allocations: 33.11 kB / 0.4934 GB, free: 9.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.4845, allocations: 440.3 kB / 0.4938 GB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.4846, allocations: 145.2 kB / 0.4939 GB, free: 9.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.4849, allocations: 157.9 kB / 0.4941 GB, free: 9.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.485, allocations: 337.9 kB / 0.4944 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.4863, allocations: 439 kB / 0.4948 GB, free: 8.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.4879, allocations: 0.7136 MB / 0.4955 GB, free: 8.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/0.491, allocations: 1.244 MB / 0.4967 GB, free: 7.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.491, allocations: 2.281 kB / 0.4967 GB, free: 7.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004654/0.4957, allocations: 1.393 MB / 0.4981 GB, free: 7.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.4959, allocations: 108.6 kB / 0.4982 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.4959, allocations: 6.875 kB / 0.4982 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.714e-05/0.4959, allocations: 11 kB / 0.4982 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.4972, allocations: 219.5 kB / 0.4984 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.808e-05/0.4972, allocations: 15.8 kB / 0.4985 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.4986, allocations: 202.2 kB / 0.4986 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.4988, allocations: 39.59 kB / 0.4987 GB, free: 6.926 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.0006096/0.4994, allocations: 355.6 kB / 0.499 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.4996, allocations: 93.47 kB / 0.4991 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004171/0.5038, allocations: 1.695 MB / 0.5008 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.5038, allocations: 4.203 kB / 0.5008 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.5038, allocations: 3.031 kB / 0.5008 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.5038, allocations: 4.953 kB / 0.5008 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.5051, allocations: 0.7596 MB / 0.5015 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5051, allocations: 0 / 0.5015 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008429/0.506, allocations: 145.5 kB / 0.5017 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.506, allocations: 3.188 kB / 0.5017 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-05/0.5061, allocations: 24.78 kB / 0.5017 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.5061, allocations: 2.562 kB / 0.5017 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5061, allocations: 0 / 0.5017 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/0.5094, allocations: 1.323 MB / 0.503 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.5096, allocations: 166.5 kB / 0.5031 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.5098, allocations: 23.77 kB / 0.5032 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009534/0.5108, allocations: 119.4 kB / 0.5033 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.5109, allocations: 30.41 kB / 0.5033 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.231e-05/0.511, allocations: 28.33 kB / 0.5033 GB, free: 4.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008694/0.5119, allocations: 0.5807 MB / 0.5039 GB, free: 4.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5119, allocations: 1.156 kB / 0.5039 GB, free: 4.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001453/0.5133, allocations: 341.9 kB / 0.5042 GB, free: 4.684 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.0009069/0.5142, allocations: 337.2 kB / 0.5045 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003521/0.5178, allocations: 1.304 MB / 0.5058 GB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5178, allocations: 0 / 0.5058 GB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.5193, allocations: 0.7467 MB / 0.5066 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.521, allocations: 308.7 kB / 0.5068 GB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.5248, allocations: 1.928 MB / 0.5087 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.5253, allocations: 0.9913 MB / 0.5097 GB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008574/0.5261, allocations: 183.1 kB / 0.5099 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.5264, allocations: 79.23 kB / 0.5099 GB, free: 1.77 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5264, allocations: 0 / 0.5099 GB, free: 1.77 MB / 382.1 MB Notification: Performance of Templates: time 0.02956/0.556, allocations: 16.5 MB / 0.5261 GB, free: 2.793 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)