Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007562/0.007562, allocations: 174.2 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.836/1.836, allocations: 194.5 MB / 210.3 MB, free: 7.527 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001563/0.001563, allocations: 124.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2066/0.2066, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003929, allocations: 15.44 kB / 406.2 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1254, allocations: 54.87 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.243, allocations: 414.9 MB / 0.8554 GB, free: 46.99 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/1.243, allocations: 98.62 kB / 0.8555 GB, free: 46.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5878/1.831, allocations: 118 MB / 0.9708 GB, free: 137.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.248e-06/1.831, allocations: 0 / 0.9708 GB, free: 137.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.108e-05/1.831, allocations: 19.94 kB / 0.9708 GB, free: 137.2 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003414/1.835, allocations: 1.054 MB / 0.9718 GB, free: 136.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.835, allocations: 8.031 kB / 0.9718 GB, free: 136.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006336/1.835, allocations: 87.06 kB / 0.9719 GB, free: 136 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/1.837, allocations: 0.548 MB / 0.9724 GB, free: 135.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/1.837, allocations: 104.2 kB / 0.9725 GB, free: 135.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/1.838, allocations: 51.98 kB / 0.9726 GB, free: 135.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/1.839, allocations: 0.8025 MB / 0.9734 GB, free: 134.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/1.839, allocations: 7.906 kB / 0.9734 GB, free: 134.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.839, allocations: 27.95 kB / 0.9734 GB, free: 134.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.762e-05/1.839, allocations: 40.92 kB / 0.9735 GB, free: 134.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/1.84, allocations: 0.6322 MB / 0.9741 GB, free: 133.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00514/1.846, allocations: 3.902 MB / 0.9779 GB, free: 129.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/1.846, allocations: 380.9 kB / 0.9782 GB, free: 129.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004198/1.847, allocations: 0.5067 MB / 0.9787 GB, free: 128.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/1.847, allocations: 34.89 kB / 0.9788 GB, free: 128.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 2.745e-06/1.847, allocations: 0 / 0.9788 GB, free: 128.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.003405/1.85, allocations: 1.484 MB / 0.9802 GB, free: 127 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/1.85, allocations: 140.5 kB / 0.9804 GB, free: 126.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/1.851, allocations: 494 kB / 0.9808 GB, free: 126.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/1.851, allocations: 41.7 kB / 0.9809 GB, free: 126.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/1.851, allocations: 363.3 kB / 0.9812 GB, free: 125.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/1.851, allocations: 165.7 kB / 0.9814 GB, free: 125.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/1.852, allocations: 16 kB / 0.9814 GB, free: 125.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/1.852, allocations: 374.7 kB / 0.9817 GB, free: 125.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/1.852, allocations: 221.8 kB / 0.982 GB, free: 125.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005111/1.853, allocations: 0.5333 MB / 0.9825 GB, free: 124.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/1.853, allocations: 320.6 kB / 0.9828 GB, free: 124.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.853, allocations: 4 kB / 0.9828 GB, free: 124.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001857/1.855, allocations: 0.9609 MB / 0.9837 GB, free: 123.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/1.855, allocations: 8.188 kB / 0.9837 GB, free: 123.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.855, allocations: 19.95 kB / 0.9838 GB, free: 123.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/1.856, allocations: 256.6 kB / 0.984 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/1.857, allocations: 131.8 kB / 0.9841 GB, free: 122.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008354/1.858, allocations: 0.8411 MB / 0.9849 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/1.858, allocations: 55.89 kB / 0.985 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.572e-05/1.858, allocations: 35.98 kB / 0.985 GB, free: 121.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004068/1.859, allocations: 254.5 kB / 0.9853 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/1.859, allocations: 67.25 kB / 0.9853 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/1.86, allocations: 0.6876 MB / 0.986 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/1.86, allocations: 15.94 kB / 0.986 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.86, allocations: 0 / 0.986 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/1.86, allocations: 7.984 kB / 0.986 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/1.863, allocations: 1.367 MB / 0.9874 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.863, allocations: 4 kB / 0.9874 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009118/1.863, allocations: 187.8 kB / 0.9876 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002846/1.864, allocations: 65 kB / 0.9876 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/1.864, allocations: 19.97 kB / 0.9876 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/1.866, allocations: 2.805 MB / 0.9904 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.866, allocations: 4.031 kB / 0.9904 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/1.867, allocations: 1.043 MB / 0.9914 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/1.868, allocations: 204.1 kB / 0.9916 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/1.868, allocations: 16.23 kB / 0.9916 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/1.869, allocations: 32.05 kB / 0.9916 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/1.869, allocations: 35.89 kB / 0.9917 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/1.869, allocations: 19.98 kB / 0.9917 GB, free: 114.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004381/1.869, allocations: 382.8 kB / 0.9921 GB, free: 114.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.869, allocations: 0 / 0.9921 GB, free: 114.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001216/1.87, allocations: 223.9 kB / 0.9923 GB, free: 113.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001013/1.871, allocations: 267.5 kB / 0.9925 GB, free: 113.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001186/1.873, allocations: 0.6014 MB / 0.9931 GB, free: 113.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/1.873, allocations: 8 kB / 0.9931 GB, free: 113.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/1.874, allocations: 469.9 kB / 0.9936 GB, free: 112.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/1.875, allocations: 318.6 kB / 0.9939 GB, free: 112.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/1.878, allocations: 1.637 MB / 0.9955 GB, free: 110.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/1.879, allocations: 0.9581 MB / 0.9964 GB, free: 109.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008555/1.88, allocations: 197.8 kB / 0.9966 GB, free: 109.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/1.88, allocations: 59.42 kB / 0.9966 GB, free: 109.4 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/1.88, allocations: 0 / 0.9966 GB, free: 109.4 MB / 490.7 MB Notification: Performance of Templates: time 0.02546/1.905, allocations: 13.06 MB / 1.009 GB, free: 96.39 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)