Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01033/0.01033, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.344/1.344, allocations: 170.8 MB / 186.6 MB, free: 0.9531 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001705/0.001705, allocations: 118.5 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 12 kB / 274.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2446, allocations: 38.76 MB / 312.9 MB, free: 38.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7157/0.9604, allocations: 357.3 MB / 0.6545 GB, free: 44.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.9607, allocations: 91.94 kB / 0.6546 GB, free: 44.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3527/1.313, allocations: 81.32 MB / 0.734 GB, free: 114.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.534e-06/1.313, allocations: 3.938 kB / 0.734 GB, free: 114.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/1.314, allocations: 8 kB / 0.734 GB, free: 114.8 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009271/1.314, allocations: 0.6203 MB / 0.7346 GB, free: 114.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.315, allocations: 8.031 kB / 0.7346 GB, free: 114.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002551/1.315, allocations: 43.61 kB / 0.7347 GB, free: 114.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/1.315, allocations: 278.8 kB / 0.7349 GB, free: 113.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/1.315, allocations: 20.55 kB / 0.7349 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/1.315, allocations: 27.95 kB / 0.735 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/1.316, allocations: 295.8 kB / 0.7352 GB, free: 113.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.316, allocations: 7.844 kB / 0.7353 GB, free: 113.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/1.316, allocations: 12 kB / 0.7353 GB, free: 113.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/1.316, allocations: 8 kB / 0.7353 GB, free: 113.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/1.316, allocations: 193.6 kB / 0.7355 GB, free: 113.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/1.317, allocations: 1.436 MB / 0.7369 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/1.317, allocations: 175.2 kB / 0.737 GB, free: 111.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/1.317, allocations: 192 / 0.737 GB, free: 111.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/1.318, allocations: 46.67 kB / 0.7371 GB, free: 111.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.012e-06/1.318, allocations: 0 / 0.7371 GB, free: 111.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002137/1.32, allocations: 0.9941 MB / 0.738 GB, free: 110.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/1.32, allocations: 63.33 kB / 0.7381 GB, free: 110.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/1.32, allocations: 229.6 kB / 0.7383 GB, free: 110 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/1.32, allocations: 33.7 kB / 0.7384 GB, free: 110 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/1.32, allocations: 180.2 kB / 0.7385 GB, free: 109.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/1.32, allocations: 94.66 kB / 0.7386 GB, free: 109.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/1.32, allocations: 4 kB / 0.7386 GB, free: 109.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/1.32, allocations: 342.8 kB / 0.7389 GB, free: 109.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/1.32, allocations: 91.73 kB / 0.739 GB, free: 109.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/1.32, allocations: 170.9 kB / 0.7392 GB, free: 109.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/1.321, allocations: 116.4 kB / 0.7393 GB, free: 109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.321, allocations: 7.938 kB / 0.7393 GB, free: 109 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005472/1.321, allocations: 381.4 kB / 0.7397 GB, free: 108.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.321, allocations: 11.94 kB / 0.7397 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.321, allocations: 0 / 0.7397 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/1.321, allocations: 65.67 kB / 0.7398 GB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/1.322, allocations: 67.91 kB / 0.7398 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/1.323, allocations: 2.685 MB / 0.7424 GB, free: 105.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/1.324, allocations: 23.91 kB / 0.7425 GB, free: 105.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/1.324, allocations: 19.98 kB / 0.7425 GB, free: 105.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001688/1.324, allocations: 149.8 kB / 0.7426 GB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/1.324, allocations: 23.72 kB / 0.7427 GB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.934e-05/1.324, allocations: 38.17 kB / 0.7427 GB, free: 105.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.324, allocations: 12.17 kB / 0.7427 GB, free: 105.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.324, allocations: 0 / 0.7427 GB, free: 105.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004871/1.324, allocations: 0.5604 MB / 0.7432 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008604/1.325, allocations: 0.7106 MB / 0.7439 GB, free: 103.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.325, allocations: 0 / 0.7439 GB, free: 103.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/1.325, allocations: 43.98 kB / 0.744 GB, free: 103.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/1.326, allocations: 60.81 kB / 0.744 GB, free: 103.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/1.326, allocations: 11.92 kB / 0.7441 GB, free: 103.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000841/1.327, allocations: 1.393 MB / 0.7454 GB, free: 102.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.327, allocations: 3.938 kB / 0.7454 GB, free: 102.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/1.327, allocations: 483 kB / 0.7459 GB, free: 101.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/1.327, allocations: 100.8 kB / 0.746 GB, free: 101.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/1.327, allocations: 8 kB / 0.746 GB, free: 101.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/1.328, allocations: 12 kB / 0.746 GB, free: 101.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/1.328, allocations: 27.97 kB / 0.746 GB, free: 101.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/1.328, allocations: 4 kB / 0.746 GB, free: 101.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000156/1.328, allocations: 190 kB / 0.7462 GB, free: 101.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.328, allocations: 0 / 0.7462 GB, free: 101.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004522/1.328, allocations: 103.9 kB / 0.7463 GB, free: 101.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002238/1.328, allocations: 156.1 kB / 0.7465 GB, free: 101 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006164/1.329, allocations: 473.6 kB / 0.7469 GB, free: 100.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.329, allocations: 0 / 0.7469 GB, free: 100.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/1.329, allocations: 234.5 kB / 0.7471 GB, free: 100.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007715/1.33, allocations: 168.5 kB / 0.7473 GB, free: 100.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/1.331, allocations: 0.8079 MB / 0.7481 GB, free: 99.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/1.331, allocations: 0.7687 MB / 0.7488 GB, free: 98.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002748/1.332, allocations: 54.94 kB / 0.7489 GB, free: 98.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/1.332, allocations: 31.38 kB / 0.7489 GB, free: 98.42 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/1.332, allocations: 0 / 0.7489 GB, free: 98.42 MB / 362.7 MB Notification: Performance of Templates: time 0.00923/1.341, allocations: 5.98 MB / 0.7547 GB, free: 92.46 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)