Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001508/0.001508, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001648/0.001648, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.383/1.383, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.001296/0.001296, allocations: 47.92 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2228, allocations: 46.63 MB / 324.8 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005307/0.2281, allocations: 4.505 MB / 329.3 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.2301, allocations: 1.802 MB / 331.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.167e-05/0.2303, allocations: 5.688 kB / 331.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.2306, allocations: 32.12 kB / 331.2 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.231, allocations: 110.5 kB / 331.3 MB, free: 12.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.2316, allocations: 236.1 kB / 331.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.232, allocations: 288.1 kB / 331.8 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.2321, allocations: 19.88 kB / 331.8 MB, free: 12.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.2324, allocations: 129.4 kB / 331.9 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.2325, allocations: 88.27 kB / 332 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.2325, allocations: 13.02 kB / 332 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.2328, allocations: 101.2 kB / 332.1 MB, free: 12.21 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.2328, allocations: 34.31 kB / 332.2 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.361e-05/0.2329, allocations: 73.52 kB / 332.2 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.2333, allocations: 217.8 kB / 332.5 MB, free: 12.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2333, allocations: 0 / 332.5 MB, free: 12.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2333, allocations: 3.938 kB / 332.5 MB, free: 12.01 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.2333, allocations: 0 / 332.5 MB, free: 12.01 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.0009793/0.2343, allocations: 497.6 kB / 332.9 MB, free: 11.55 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2343, allocations: 8.844 kB / 333 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.2345, allocations: 21.94 kB / 333 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.2348, allocations: 205.2 kB / 333.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2348, allocations: 10.78 kB / 333.2 MB, free: 11.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.2348, allocations: 17.5 kB / 333.2 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.2353, allocations: 224.4 kB / 333.4 MB, free: 11.13 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.2353, allocations: 3.938 kB / 333.4 MB, free: 11.13 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.2354, allocations: 7.094 kB / 333.4 MB, free: 11.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2354, allocations: 2.938 kB / 333.4 MB, free: 11.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.2357, allocations: 155.1 kB / 333.6 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.237, allocations: 0.9365 MB / 334.5 MB, free: 10.15 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.2374, allocations: 154.7 kB / 334.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.2376, allocations: 60.77 kB / 334.7 MB, free: 9.988 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005071/0.2381, allocations: 0.507 MB / 335.2 MB, free: 9.418 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2381, allocations: 30.56 kB / 335.3 MB, free: 9.379 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.2382, allocations: 0 / 335.3 MB, free: 9.379 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002572/0.2407, allocations: 0.7631 MB / 336 MB, free: 8.562 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.2408, allocations: 51.41 kB / 336.1 MB, free: 8.5 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.2409, allocations: 154.4 kB / 336.2 MB, free: 8.34 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.241, allocations: 29.7 kB / 336.3 MB, free: 8.305 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8e-05/0.241, allocations: 147.8 kB / 336.4 MB, free: 8.156 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.2411, allocations: 74.89 kB / 336.5 MB, free: 8.082 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/0.2412, allocations: 61.69 kB / 336.5 MB, free: 8.016 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.2413, allocations: 326.8 kB / 336.9 MB, free: 7.688 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.2416, allocations: 83.94 kB / 336.9 MB, free: 7.605 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.2419, allocations: 189.8 kB / 337.1 MB, free: 7.371 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/0.2424, allocations: 302.1 kB / 337.4 MB, free: 7.027 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2424, allocations: 0 / 337.4 MB, free: 7.027 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00068/0.2431, allocations: 321.1 kB / 337.7 MB, free: 6.707 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.2432, allocations: 8 kB / 337.7 MB, free: 6.699 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.2432, allocations: 4 kB / 337.8 MB, free: 6.695 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.2432, allocations: 4 kB / 337.8 MB, free: 6.691 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.2436, allocations: 79.89 kB / 337.8 MB, free: 6.613 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.2436, allocations: 15.92 kB / 337.8 MB, free: 6.598 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.2439, allocations: 20.22 kB / 337.9 MB, free: 6.578 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.2439, allocations: 19.98 kB / 337.9 MB, free: 6.559 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.000129/0.2441, allocations: 133.7 kB / 338 MB, free: 6.418 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.2441, allocations: 15.81 kB / 338 MB, free: 6.402 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/0.2448, allocations: 238.6 kB / 338.3 MB, free: 6.168 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2448, allocations: 4 kB / 338.3 MB, free: 6.164 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2448, allocations: 3.938 kB / 338.3 MB, free: 6.16 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2448, allocations: 0 / 338.3 MB, free: 6.16 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.2461, allocations: 0.5912 MB / 338.9 MB, free: 5.5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2461, allocations: 3.984 kB / 338.9 MB, free: 5.496 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.2464, allocations: 51.97 kB / 338.9 MB, free: 5.445 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2464, allocations: 0 / 338.9 MB, free: 5.445 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.2464, allocations: 16.11 kB / 338.9 MB, free: 5.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.2464, allocations: 11.88 kB / 338.9 MB, free: 5.418 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2465, allocations: 0 / 338.9 MB, free: 5.418 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.2473, allocations: 398.9 kB / 339.3 MB, free: 5 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.2474, allocations: 93 kB / 339.4 MB, free: 4.891 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.2474, allocations: 11.94 kB / 339.4 MB, free: 4.879 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.2477, allocations: 15.95 kB / 339.5 MB, free: 4.863 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.2477, allocations: 19.92 kB / 339.5 MB, free: 4.844 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.2477, allocations: 12 kB / 339.5 MB, free: 4.832 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.829e-05/0.2478, allocations: 107.2 kB / 339.6 MB, free: 4.727 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2478, allocations: 0 / 339.6 MB, free: 4.727 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000377/0.2482, allocations: 63.94 kB / 339.7 MB, free: 4.664 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.0003069/0.2485, allocations: 139.1 kB / 339.8 MB, free: 4.516 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006645/0.2492, allocations: 228.2 kB / 340 MB, free: 4.293 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2492, allocations: 0 / 340 MB, free: 4.293 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.2494, allocations: 91.81 kB / 340.1 MB, free: 4.203 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.2499, allocations: 36.95 kB / 340.1 MB, free: 4.168 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.251, allocations: 0.5114 MB / 340.6 MB, free: 3.617 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.2513, allocations: 0.709 MB / 341.4 MB, free: 2.883 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000295/0.2516, allocations: 57.86 kB / 341.4 MB, free: 2.824 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/0.2517, allocations: 23.42 kB / 341.4 MB, free: 2.801 MB / 270.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2517, allocations: 0 / 341.4 MB, free: 2.801 MB / 270.1 MB Notification: Performance of Templates: time 0.005727/0.2574, allocations: 2.668 MB / 344.1 MB, free: 136 kB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)