Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterProperties") translateModel(Annex60.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009711/0.000971, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001327/0.001328, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 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.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4056/0.4056, allocations: 54.98 MB / 325.4 MB, free: 0.6914 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.000552/0.0005521, allocations: 16 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3114, allocations: 60.72 MB / 457.3 MB, free: 38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterProperties): time 0.003561/0.315, allocations: 3.902 MB / 461.2 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.317, allocations: 2.133 MB / 463.3 MB, free: 36.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.3171, allocations: 2.719 kB / 463.3 MB, free: 36.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.3173, allocations: 40.7 kB / 463.4 MB, free: 36.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.3175, allocations: 78.33 kB / 463.5 MB, free: 36.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000831/0.3184, allocations: 370.9 kB / 463.8 MB, free: 36.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3186, allocations: 141.2 kB / 464 MB, free: 36.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.677e-05/0.3186, allocations: 13.05 kB / 464 MB, free: 36.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.3188, allocations: 98.84 kB / 464.1 MB, free: 36.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.885e-05/0.3189, allocations: 69.91 kB / 464.1 MB, free: 36.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.3189, allocations: 8.812 kB / 464.1 MB, free: 36.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.3195, allocations: 272.1 kB / 464.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.3195, allocations: 36.02 kB / 464.4 MB, free: 36.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.3196, allocations: 53.98 kB / 464.5 MB, free: 36.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.3198, allocations: 205.8 kB / 464.7 MB, free: 36.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.3199, allocations: 1.25 kB / 464.7 MB, free: 36.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3199, allocations: 0 / 464.7 MB, free: 36.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.3199, allocations: 0 / 464.7 MB, free: 36.58 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.0005249/0.3204, allocations: 474.3 kB / 465.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.3204, allocations: 9.688 kB / 465.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.3206, allocations: 22.5 kB / 465.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3207, allocations: 212.1 kB / 465.4 MB, free: 35.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3208, allocations: 11.83 kB / 465.4 MB, free: 35.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.3208, allocations: 13.72 kB / 465.4 MB, free: 35.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.3211, allocations: 250.1 kB / 465.7 MB, free: 35.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3211, allocations: 0.9375 kB / 465.7 MB, free: 35.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.3211, allocations: 10.05 kB / 465.7 MB, free: 35.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.3211, allocations: 6.625 kB / 465.7 MB, free: 35.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.3215, allocations: 425.9 kB / 466.1 MB, free: 35.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/0.3223, allocations: 1.024 MB / 467.1 MB, free: 34.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.3226, allocations: 166.1 kB / 467.3 MB, free: 34.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008735/0.3235, allocations: 1.831 MB / 469.1 MB, free: 32.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3235, allocations: 33.34 kB / 469.1 MB, free: 32.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.975e-06/0.3235, allocations: 4 kB / 469.2 MB, free: 32.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003101/0.3238, allocations: 150.2 kB / 469.3 MB, free: 32.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.3239, allocations: 51.97 kB / 469.3 MB, free: 32.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.324, allocations: 169.2 kB / 469.5 MB, free: 32.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.324, allocations: 29.7 kB / 469.5 MB, free: 32.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.3241, allocations: 137.3 kB / 469.7 MB, free: 32.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.3241, allocations: 48.8 kB / 469.7 MB, free: 32.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.3241, allocations: 7.75 kB / 469.7 MB, free: 32.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.3242, allocations: 334 kB / 470.1 MB, free: 31.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/0.3243, allocations: 30.55 kB / 470.1 MB, free: 31.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.3244, allocations: 144.8 kB / 470.2 MB, free: 31.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.3245, allocations: 60.33 kB / 470.3 MB, free: 31.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3246, allocations: 3.281 kB / 470.3 MB, free: 31.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002886/0.3249, allocations: 205.9 kB / 470.5 MB, free: 31.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3249, allocations: 9.781 kB / 470.5 MB, free: 31.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3249, allocations: 6.781 kB / 470.5 MB, free: 31.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3249, allocations: 5.906 kB / 470.5 MB, free: 31.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.3251, allocations: 61.09 kB / 470.6 MB, free: 31.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.3251, allocations: 2.969 kB / 470.6 MB, free: 31.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.3252, allocations: 36.72 kB / 470.6 MB, free: 31.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3253, allocations: 12.81 kB / 470.6 MB, free: 31.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.672e-05/0.3254, allocations: 139.1 kB / 470.8 MB, free: 31.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.3254, allocations: 20.78 kB / 470.8 MB, free: 31.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.3257, allocations: 153.3 kB / 470.9 MB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3257, allocations: 2.875 kB / 470.9 MB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3257, allocations: 1.125 kB / 470.9 MB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3257, allocations: 0 / 470.9 MB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.3259, allocations: 220 kB / 471.2 MB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3259, allocations: 0 / 471.2 MB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.326, allocations: 35.92 kB / 471.2 MB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.326, allocations: 0 / 471.2 MB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3261, allocations: 11.28 kB / 471.2 MB, free: 31.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3261, allocations: 1 kB / 471.2 MB, free: 31.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3261, allocations: 0 / 471.2 MB, free: 31.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.3263, allocations: 223.4 kB / 471.4 MB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.3263, allocations: 110.4 kB / 471.5 MB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.3264, allocations: 7.328 kB / 471.5 MB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.3265, allocations: 6.781 kB / 471.5 MB, free: 30.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.3266, allocations: 13.61 kB / 471.6 MB, free: 30.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.3266, allocations: 13.22 kB / 471.6 MB, free: 30.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.818e-05/0.3267, allocations: 113.2 kB / 471.7 MB, free: 30.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3267, allocations: 0 / 471.7 MB, free: 30.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003677/0.327, allocations: 80.23 kB / 471.8 MB, free: 30.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002111/0.3272, allocations: 179.6 kB / 471.9 MB, free: 30.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.3274, allocations: 113.3 kB / 472 MB, free: 30.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3275, allocations: 0 / 472 MB, free: 30.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.196e-05/0.3275, allocations: 44.3 kB / 472.1 MB, free: 30.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.3279, allocations: 51.12 kB / 472.1 MB, free: 30.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.3285, allocations: 422.3 kB / 472.5 MB, free: 30.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.3286, allocations: 0.7186 MB / 473.3 MB, free: 29.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.3288, allocations: 44.66 kB / 473.3 MB, free: 29.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.3288, allocations: 19.28 kB / 473.3 MB, free: 29.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3288, allocations: 0 / 473.3 MB, free: 29.59 MB / 382.1 MB Notification: Performance of Templates: time 0.00527/0.3341, allocations: 2.972 MB / 476.3 MB, free: 29.32 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: