Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.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) 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(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001209/0.001208, allocations: 168.7 kB / 15.95 MB, free: 204 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.685/1.685, allocations: 205.4 MB / 222.1 MB, free: 5.875 MB / 174.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: Performance of FrontEnd - loaded program: time 0.0005024/0.0005025, allocations: 8 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3096, allocations: 47.58 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004346/0.314, allocations: 3.963 MB / 330.4 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.3159, allocations: 1.681 MB / 332.1 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.3159, allocations: 1.125 kB / 332.1 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.3162, allocations: 31.47 kB / 332.1 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.3165, allocations: 115.8 kB / 332.3 MB, free: 12.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.3171, allocations: 222.2 kB / 332.5 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004223/0.3175, allocations: 321.1 kB / 332.8 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.3176, allocations: 16.17 kB / 332.8 MB, free: 12.35 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.3178, allocations: 116.6 kB / 332.9 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.318, allocations: 87 kB / 333 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.3181, allocations: 6.062 kB / 333 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.3183, allocations: 74.84 kB / 333.1 MB, free: 12.22 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.3184, allocations: 37.5 kB / 333.1 MB, free: 12.2 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.826e-05/0.3184, allocations: 52.55 kB / 333.2 MB, free: 12.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.3187, allocations: 142.6 kB / 333.3 MB, free: 12.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3187, allocations: 1.094 kB / 333.3 MB, free: 12.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3187, allocations: 0 / 333.3 MB, free: 12.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3187, allocations: 0 / 333.3 MB, free: 12.07 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008946/0.3196, allocations: 461.9 kB / 333.8 MB, free: 11.63 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3197, allocations: 8.344 kB / 333.8 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.3198, allocations: 21.81 kB / 333.8 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.3201, allocations: 208.1 kB / 334 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3201, allocations: 9.938 kB / 334 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.3201, allocations: 12.56 kB / 334 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.3205, allocations: 217.6 kB / 334.2 MB, free: 11.22 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3206, allocations: 1.031 kB / 334.2 MB, free: 11.22 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.3206, allocations: 11.28 kB / 334.2 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.3206, allocations: 3.188 kB / 334.2 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.321, allocations: 150.8 kB / 334.4 MB, free: 11.14 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.3222, allocations: 0.9434 MB / 335.3 MB, free: 10.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.3226, allocations: 142.5 kB / 335.5 MB, free: 10.15 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.3228, allocations: 55.42 kB / 335.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005236/0.3233, allocations: 0.5049 MB / 336 MB, free: 9.59 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.3233, allocations: 36.61 kB / 336.1 MB, free: 9.547 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.3234, allocations: 3.938 kB / 336.1 MB, free: 9.543 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002293/0.3257, allocations: 0.7679 MB / 336.8 MB, free: 8.812 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.3257, allocations: 51.41 kB / 336.9 MB, free: 8.75 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3258, allocations: 154.8 kB / 337 MB, free: 8.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.3259, allocations: 33.7 kB / 337.1 MB, free: 8.551 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.326, allocations: 139.8 kB / 337.2 MB, free: 8.41 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.02e-05/0.326, allocations: 78.94 kB / 337.3 MB, free: 8.332 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.326, allocations: 4 kB / 337.3 MB, free: 8.328 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3262, allocations: 326.8 kB / 337.6 MB, free: 8 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.3264, allocations: 83.95 kB / 337.7 MB, free: 7.918 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.3267, allocations: 197.9 kB / 337.9 MB, free: 7.676 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.3269, allocations: 104.8 kB / 338 MB, free: 7.574 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3269, allocations: 0 / 338 MB, free: 7.574 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006474/0.3276, allocations: 319.1 kB / 338.3 MB, free: 7.258 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3276, allocations: 12.42 kB / 338.3 MB, free: 7.246 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3276, allocations: 8 kB / 338.3 MB, free: 7.238 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3276, allocations: 4 kB / 338.3 MB, free: 7.234 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.328, allocations: 79.89 kB / 338.4 MB, free: 7.156 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.498e-05/0.328, allocations: 15.92 kB / 338.4 MB, free: 7.141 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.3282, allocations: 15.98 kB / 338.4 MB, free: 7.125 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.3283, allocations: 19.98 kB / 338.5 MB, free: 7.105 MB / 270.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 (37): * Single equations (assignments): 37 * 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 0.0001291/0.3284, allocations: 133.8 kB / 338.6 MB, free: 6.965 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.3285, allocations: 15.81 kB / 338.6 MB, free: 6.949 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006004/0.3291, allocations: 238.7 kB / 338.8 MB, free: 6.715 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3291, allocations: 4 kB / 338.8 MB, free: 6.711 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3291, allocations: 0 / 338.8 MB, free: 6.711 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3291, allocations: 3.953 kB / 338.8 MB, free: 6.707 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.3303, allocations: 0.603 MB / 339.4 MB, free: 6.035 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3303, allocations: 3.938 kB / 339.4 MB, free: 6.031 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.3305, allocations: 47.95 kB / 339.5 MB, free: 5.984 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3306, allocations: 4 kB / 339.5 MB, free: 5.98 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.3306, allocations: 11.98 kB / 339.5 MB, free: 5.969 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3306, allocations: 3.938 kB / 339.5 MB, free: 5.965 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3306, allocations: 0 / 339.5 MB, free: 5.965 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.3313, allocations: 402.9 kB / 339.9 MB, free: 5.543 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.3314, allocations: 85.05 kB / 340 MB, free: 5.441 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.3314, allocations: 11.98 kB / 340 MB, free: 5.43 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.3317, allocations: 23.83 kB / 340 MB, free: 5.406 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.3317, allocations: 11.92 kB / 340 MB, free: 5.395 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.3317, allocations: 12 kB / 340 MB, free: 5.383 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.617e-05/0.3318, allocations: 115.2 kB / 340.2 MB, free: 5.27 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3318, allocations: 0 / 340.2 MB, free: 5.27 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.3322, allocations: 67.94 kB / 340.2 MB, free: 5.203 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.0001843/0.3324, allocations: 119.2 kB / 340.3 MB, free: 5.074 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005213/0.3329, allocations: 219.6 kB / 340.6 MB, free: 4.859 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3329, allocations: 0 / 340.6 MB, free: 4.859 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.3332, allocations: 93.06 kB / 340.6 MB, free: 4.77 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3336, allocations: 36.39 kB / 340.7 MB, free: 4.734 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.3346, allocations: 0.5568 MB / 341.2 MB, free: 4.141 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3349, allocations: 0.7129 MB / 342 MB, free: 3.402 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002928/0.3352, allocations: 49.86 kB / 342 MB, free: 3.352 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.3353, allocations: 27.42 kB / 342 MB, free: 3.324 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3353, allocations: 0 / 342 MB, free: 3.324 MB / 270.1 MB Notification: Performance of Templates: time 0.005615/0.3409, allocations: 2.48 MB / 344.5 MB, free: 0.8438 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)