Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.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.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.00142, 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.001779/0.001779, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.472/1.472, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.417/0.417, allocations: 54.93 MB / 324.3 MB, free: 164 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.001281/0.001281, allocations: 63.91 kB / 394.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1346, allocations: 59.58 MB / 454.3 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.2404/0.375, allocations: 13.82 MB / 468.1 MB, free: 32.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.3771, allocations: 2.637 MB / 470.7 MB, free: 30.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.3772, allocations: 3.781 kB / 470.7 MB, free: 30.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.3775, allocations: 32.84 kB / 470.8 MB, free: 30.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.3777, allocations: 89.09 kB / 470.9 MB, free: 30.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007128/0.3784, allocations: 397.8 kB / 471.3 MB, free: 30.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.3786, allocations: 291.4 kB / 471.5 MB, free: 30.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.3787, allocations: 18.66 kB / 471.6 MB, free: 30.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006793/0.3855, allocations: 3.17 MB / 474.7 MB, free: 28.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.3856, allocations: 84.77 kB / 474.8 MB, free: 28.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3857, allocations: 8.344 kB / 474.8 MB, free: 28.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.3875, allocations: 0.9417 MB / 475.8 MB, free: 28.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.3876, allocations: 36.25 kB / 475.8 MB, free: 28.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.3877, allocations: 73.44 kB / 475.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.3882, allocations: 346.1 kB / 476.2 MB, free: 28.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3882, allocations: 4.688 kB / 476.2 MB, free: 28.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.3882, allocations: 0 / 476.2 MB, free: 28.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3882, allocations: 0 / 476.2 MB, free: 28.15 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005901/0.3888, allocations: 0.4883 MB / 476.7 MB, free: 27.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3888, allocations: 8.438 kB / 476.7 MB, free: 27.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.389, allocations: 26.44 kB / 476.7 MB, free: 27.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3892, allocations: 218.5 kB / 476.9 MB, free: 27.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3892, allocations: 14.23 kB / 477 MB, free: 27.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3892, allocations: 19.58 kB / 477 MB, free: 27.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.3895, allocations: 255.8 kB / 477.2 MB, free: 27.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3895, allocations: 0.5625 kB / 477.2 MB, free: 27.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.3896, allocations: 6.438 kB / 477.2 MB, free: 27.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.3896, allocations: 6.094 kB / 477.2 MB, free: 27.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.39, allocations: 427.8 kB / 477.7 MB, free: 27.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008317/0.3908, allocations: 1.012 MB / 478.7 MB, free: 26.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.3911, allocations: 161.9 kB / 478.8 MB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.3912, allocations: 62.64 kB / 478.9 MB, free: 26.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000903/0.3921, allocations: 1.828 MB / 480.7 MB, free: 24.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.3921, allocations: 33.62 kB / 480.8 MB, free: 24.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.3921, allocations: 0 / 480.8 MB, free: 24.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003081/0.3924, allocations: 154.9 kB / 480.9 MB, free: 24.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.3925, allocations: 62.19 kB / 481 MB, free: 24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3926, allocations: 156.3 kB / 481.1 MB, free: 23.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3926, allocations: 32.55 kB / 481.1 MB, free: 23.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.3927, allocations: 139.9 kB / 481.3 MB, free: 23.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.3927, allocations: 54.3 kB / 481.3 MB, free: 23.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.3927, allocations: 58.28 kB / 481.4 MB, free: 23.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.3928, allocations: 325.1 kB / 481.7 MB, free: 23.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.3929, allocations: 36 kB / 481.7 MB, free: 23.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.302e-05/0.393, allocations: 135.2 kB / 481.9 MB, free: 23.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3931, allocations: 202.6 kB / 482.1 MB, free: 22.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3931, allocations: 0.5625 kB / 482.1 MB, free: 22.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002656/0.3934, allocations: 212.1 kB / 482.3 MB, free: 22.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3934, allocations: 6.5 kB / 482.3 MB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3935, allocations: 3.781 kB / 482.3 MB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3935, allocations: 4.438 kB / 482.3 MB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3936, allocations: 61.58 kB / 482.4 MB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3937, allocations: 17.12 kB / 482.4 MB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3938, allocations: 30.66 kB / 482.4 MB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.3938, allocations: 13.03 kB / 482.4 MB, free: 22.85 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * 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 8.31e-05/0.3939, allocations: 130.6 kB / 482.5 MB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.3939, allocations: 16.69 kB / 482.6 MB, free: 22.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.3942, allocations: 154.7 kB / 482.7 MB, free: 22.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.3942, allocations: 10.47 kB / 482.7 MB, free: 22.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3942, allocations: 4 kB / 482.7 MB, free: 22.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3942, allocations: 0 / 482.7 MB, free: 22.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.3944, allocations: 220.5 kB / 482.9 MB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3945, allocations: 0 / 482.9 MB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/0.3945, allocations: 27.75 kB / 483 MB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3945, allocations: 0 / 483 MB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3946, allocations: 6.812 kB / 483 MB, free: 22.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3946, allocations: 5.109 kB / 483 MB, free: 22.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3946, allocations: 0 / 483 MB, free: 22.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.3948, allocations: 230.1 kB / 483.2 MB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.3949, allocations: 100.1 kB / 483.3 MB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.3949, allocations: 6.625 kB / 483.3 MB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.395, allocations: 15.06 kB / 483.3 MB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.3951, allocations: 12.72 kB / 483.3 MB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.3951, allocations: 5.875 kB / 483.3 MB, free: 22.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.818e-05/0.3952, allocations: 120.4 kB / 483.5 MB, free: 22.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3952, allocations: 0 / 483.5 MB, free: 22.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003451/0.3955, allocations: 81.25 kB / 483.5 MB, free: 22 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003499/0.3959, allocations: 183.6 kB / 483.7 MB, free: 21.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.3961, allocations: 121.9 kB / 483.8 MB, free: 21.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3961, allocations: 0 / 483.8 MB, free: 21.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.38e-05/0.3962, allocations: 44.09 kB / 483.9 MB, free: 21.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.3966, allocations: 60.5 kB / 483.9 MB, free: 21.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.3972, allocations: 386.7 kB / 484.3 MB, free: 21.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.3973, allocations: 0.7123 MB / 485 MB, free: 20.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.3975, allocations: 47.53 kB / 485.1 MB, free: 20.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.3975, allocations: 29.66 kB / 485.1 MB, free: 20.86 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3975, allocations: 0 / 485.1 MB, free: 20.86 MB / 382.1 MB Notification: Performance of Templates: time 0.006118/0.4037, allocations: 3.34 MB / 488.4 MB, free: 20.53 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)