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.001461/0.001461, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001903, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.533/1.533, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.001235/0.001235, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2715, allocations: 46.62 MB / 325.3 MB, free: 2.082 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00554/0.2771, allocations: 4.474 MB / 329.8 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.2792, allocations: 1.813 MB / 331.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.2793, allocations: 1.062 kB / 331.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.2797, allocations: 49.45 kB / 331.6 MB, free: 12.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.2801, allocations: 109.7 kB / 331.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007039/0.2808, allocations: 259.8 kB / 332 MB, free: 12.65 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.2811, allocations: 283.9 kB / 332.3 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.723e-05/0.2812, allocations: 24.55 kB / 332.3 MB, free: 12.49 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.2815, allocations: 129.4 kB / 332.4 MB, free: 12.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.2816, allocations: 81.69 kB / 332.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.2817, allocations: 10.09 kB / 332.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.2819, allocations: 96.78 kB / 332.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.282, allocations: 41.7 kB / 332.6 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.2822, allocations: 77.05 kB / 332.7 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.2825, allocations: 208.8 kB / 332.9 MB, free: 12.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2825, allocations: 0 / 332.9 MB, free: 12.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2825, allocations: 1.156 kB / 332.9 MB, free: 12.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2826, allocations: 0 / 332.9 MB, free: 12.14 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.0009788/0.2835, allocations: 488.8 kB / 333.4 MB, free: 11.69 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2836, allocations: 9.406 kB / 333.4 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.2838, allocations: 25.3 kB / 333.4 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.284, allocations: 214.1 kB / 333.6 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.2841, allocations: 10.16 kB / 333.7 MB, free: 11.44 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.2841, allocations: 21.62 kB / 333.7 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.2846, allocations: 219 kB / 333.9 MB, free: 11.26 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.2846, allocations: 1.125 kB / 333.9 MB, free: 11.26 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.2846, allocations: 10.19 kB / 333.9 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2846, allocations: 4.344 kB / 333.9 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.285, allocations: 146.5 kB / 334 MB, free: 11.19 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.2864, allocations: 0.9363 MB / 335 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.2868, allocations: 154.6 kB / 335.1 MB, free: 10.04 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.287, allocations: 56.83 kB / 335.2 MB, free: 9.977 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005404/0.2875, allocations: 0.511 MB / 335.7 MB, free: 9.402 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.2876, allocations: 30.56 kB / 335.7 MB, free: 9.363 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.2876, allocations: 0 / 335.7 MB, free: 9.363 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002628/0.2902, allocations: 0.7708 MB / 336.5 MB, free: 8.539 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.2903, allocations: 55.41 kB / 336.6 MB, free: 8.473 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.2904, allocations: 150.4 kB / 336.7 MB, free: 8.316 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.2904, allocations: 29.7 kB / 336.7 MB, free: 8.281 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.292e-05/0.2905, allocations: 143.8 kB / 336.9 MB, free: 8.137 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.2906, allocations: 74.98 kB / 336.9 MB, free: 8.062 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.293e-05/0.2907, allocations: 57.7 kB / 337 MB, free: 8 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2908, allocations: 326.8 kB / 337.3 MB, free: 7.672 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.2911, allocations: 83.94 kB / 337.4 MB, free: 7.59 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.2914, allocations: 197.7 kB / 337.6 MB, free: 7.348 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.292, allocations: 298.1 kB / 337.9 MB, free: 7.008 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.292, allocations: 0 / 337.9 MB, free: 7.008 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006695/0.2927, allocations: 317.1 kB / 338.2 MB, free: 6.691 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2927, allocations: 11.98 kB / 338.2 MB, free: 6.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.2927, allocations: 4 kB / 338.2 MB, free: 6.676 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2927, allocations: 4 kB / 338.2 MB, free: 6.672 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.2931, allocations: 83.83 kB / 338.3 MB, free: 6.59 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.2931, allocations: 8 kB / 338.3 MB, free: 6.582 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.2934, allocations: 20.27 kB / 338.3 MB, free: 6.562 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.2934, allocations: 16 kB / 338.3 MB, free: 6.547 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.2936, allocations: 141.6 kB / 338.5 MB, free: 6.398 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.2936, allocations: 15.81 kB / 338.5 MB, free: 6.383 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.2943, allocations: 238.6 kB / 338.7 MB, free: 6.148 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2943, allocations: 4 kB / 338.7 MB, free: 6.145 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2943, allocations: 3.938 kB / 338.7 MB, free: 6.141 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2943, allocations: 0 / 338.7 MB, free: 6.141 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.2956, allocations: 0.5952 MB / 339.3 MB, free: 5.477 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2956, allocations: 0 / 339.3 MB, free: 5.477 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.2959, allocations: 55.89 kB / 339.4 MB, free: 5.422 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2959, allocations: 128 / 339.4 MB, free: 5.422 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.296, allocations: 12 kB / 339.4 MB, free: 5.41 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.296, allocations: 11.94 kB / 339.4 MB, free: 5.398 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.296, allocations: 3.984 kB / 339.4 MB, free: 5.395 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.2968, allocations: 402.9 kB / 339.8 MB, free: 4.973 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.2969, allocations: 85.02 kB / 339.9 MB, free: 4.871 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.2969, allocations: 11.94 kB / 339.9 MB, free: 4.859 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.2972, allocations: 16.05 kB / 339.9 MB, free: 4.844 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.2972, allocations: 15.97 kB / 339.9 MB, free: 4.828 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.2973, allocations: 12 kB / 339.9 MB, free: 4.816 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.415e-05/0.2973, allocations: 107.2 kB / 340 MB, free: 4.711 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2973, allocations: 0 / 340 MB, free: 4.711 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004131/0.2978, allocations: 64 kB / 340.1 MB, free: 4.648 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 (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.0003101/0.2981, allocations: 135.1 kB / 340.2 MB, free: 4.504 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006293/0.2987, allocations: 224.3 kB / 340.5 MB, free: 4.285 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2987, allocations: 3.938 kB / 340.5 MB, free: 4.281 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.299, allocations: 95.75 kB / 340.6 MB, free: 4.188 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.2994, allocations: 41.2 kB / 340.6 MB, free: 4.148 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.3005, allocations: 471.5 kB / 341.1 MB, free: 3.648 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.3008, allocations: 0.7168 MB / 341.8 MB, free: 2.906 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002565/0.3011, allocations: 45.94 kB / 341.8 MB, free: 2.859 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.3012, allocations: 27.36 kB / 341.8 MB, free: 2.832 MB / 270.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3012, allocations: 4 kB / 341.9 MB, free: 2.828 MB / 270.1 MB Notification: Performance of Templates: time 0.005872/0.307, allocations: 2.679 MB / 344.5 MB, free: 152 kB / 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)