Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") translateModel(Annex60.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 99.31 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.001555/0.001555, allocations: 177.3 kB / 15.94 MB, free: 228 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.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3975/0.3975, allocations: 54.99 MB / 325.4 MB, free: 0.6758 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.000562/0.0005621, allocations: 12 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3235, allocations: 60.72 MB / 457.3 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterDerivativeCheck): time 0.001038/0.3246, allocations: 0.9478 MB / 458.2 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.3273, allocations: 2.84 MB / 461.1 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.3273, allocations: 4 kB / 461.1 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.3274, allocations: 7.312 kB / 461.1 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.3274, allocations: 7.516 kB / 461.1 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.3278, allocations: 84.61 kB / 461.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.3278, allocations: 25.41 kB / 461.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.3279, allocations: 4.625 kB / 461.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.726e-05/0.3279, allocations: 15.52 kB / 461.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.328, allocations: 18.66 kB / 461.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.328, allocations: 2.281 kB / 461.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.3282, allocations: 63.59 kB / 461.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.3282, allocations: 11.5 kB / 461.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.688e-05/0.3282, allocations: 28.52 kB / 461.3 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.934e-05/0.3284, allocations: 35.5 kB / 461.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3284, allocations: 4.625 kB / 461.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3284, allocations: 0 / 461.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.3284, allocations: 0 / 461.4 MB, free: 37.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002446/0.3286, allocations: 336.5 kB / 461.7 MB, free: 37.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.3287, allocations: 12.22 kB / 461.7 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.857e-05/0.3287, allocations: 9.719 kB / 461.7 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.614e-05/0.3288, allocations: 166.2 kB / 461.9 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3288, allocations: 0 / 461.9 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.3289, allocations: 7.562 kB / 461.9 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.329, allocations: 54.56 kB / 462 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.329, allocations: 0.6562 kB / 462 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.329, allocations: 5.625 kB / 462 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.329, allocations: 0 / 462 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.3291, allocations: 16.48 kB / 462 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.3292, allocations: 175.5 kB / 462.2 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.3293, allocations: 56.88 kB / 462.2 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005183/0.3298, allocations: 0.5874 MB / 462.8 MB, free: 36.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.3298, allocations: 35.41 kB / 462.8 MB, free: 36.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3298, allocations: 0.6875 kB / 462.8 MB, free: 36.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000438/0.3303, allocations: 297.5 kB / 463.1 MB, free: 36.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.3303, allocations: 57.02 kB / 463.2 MB, free: 36.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.733e-05/0.3304, allocations: 104.1 kB / 463.3 MB, free: 35.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.3304, allocations: 28.95 kB / 463.3 MB, free: 35.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.3304, allocations: 90.5 kB / 463.4 MB, free: 35.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3304, allocations: 21.08 kB / 463.4 MB, free: 35.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.3304, allocations: 6.844 kB / 463.4 MB, free: 35.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.3305, allocations: 320.3 kB / 463.7 MB, free: 35.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.3305, allocations: 17.8 kB / 463.8 MB, free: 35.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.634e-05/0.3306, allocations: 52.89 kB / 463.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.3306, allocations: 21 kB / 463.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3306, allocations: 0 / 463.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001158/0.3307, allocations: 96.33 kB / 463.9 MB, free: 35.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.3308, allocations: 7.219 kB / 463.9 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3308, allocations: 1.641 kB / 463.9 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3308, allocations: 2.781 kB / 463.9 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.3309, allocations: 23.91 kB / 464 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3309, allocations: 4.75 kB / 464 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.87e-05/0.3309, allocations: 7.812 kB / 464 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.3309, allocations: 2.656 kB / 464 MB, free: 35.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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 6.218e-05/0.331, allocations: 123.5 kB / 464.1 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.331, allocations: 3.531 kB / 464.1 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.3311, allocations: 12.59 kB / 464.1 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3311, allocations: 0 / 464.1 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3311, allocations: 0 / 464.1 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3311, allocations: 4.219 kB / 464.1 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.3313, allocations: 175.3 kB / 464.3 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.3313, allocations: 0 / 464.3 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.334e-05/0.3314, allocations: 18.09 kB / 464.3 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3314, allocations: 4 kB / 464.3 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3314, allocations: 0.625 kB / 464.3 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3314, allocations: 3.531 kB / 464.3 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3314, allocations: 0 / 464.3 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.3316, allocations: 173.2 kB / 464.5 MB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.3316, allocations: 87.53 kB / 464.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.3316, allocations: 0.5 kB / 464.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3318, allocations: 11.77 kB / 464.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.3318, allocations: 4.359 kB / 464.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.3318, allocations: 3.969 kB / 464.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.303e-05/0.3318, allocations: 82.38 kB / 464.7 MB, free: 34.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3318, allocations: 0 / 464.7 MB, free: 34.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.3321, allocations: 13.16 kB / 464.7 MB, free: 34.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0001031/0.3322, allocations: 95.88 kB / 464.8 MB, free: 34.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.3323, allocations: 51.75 kB / 464.8 MB, free: 34.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3323, allocations: 0 / 464.8 MB, free: 34.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.494e-05/0.3323, allocations: 20.27 kB / 464.8 MB, free: 34.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.3326, allocations: 6.797 kB / 464.8 MB, free: 34.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005371/0.3331, allocations: 382.8 kB / 465.2 MB, free: 34.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.3333, allocations: 0.6867 MB / 465.9 MB, free: 33.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.201e-05/0.3333, allocations: 11.3 kB / 465.9 MB, free: 33.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.3333, allocations: 10.47 kB / 465.9 MB, free: 33.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3334, allocations: 0 / 465.9 MB, free: 33.71 MB / 382.1 MB Notification: Performance of Templates: time 0.002879/0.3362, allocations: 0.5625 MB / 466.5 MB, free: 33.68 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: