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.001787/0.001787, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.583/1.583, allocations: 194.3 MB / 202.4 MB, free: 8.473 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.001692/0.001692, allocations: 115.5 kB / 247.4 MB, free: 6.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.228/0.228, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.31e-05/1.313e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.385/1.497, allocations: 414.2 MB / 0.8421 GB, free: 168.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004083/1.497, allocations: 91.98 kB / 0.8422 GB, free: 168.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2442/1.741, allocations: 116.6 MB / 0.9561 GB, free: 74.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.793e-06/1.741, allocations: 0 / 0.9561 GB, free: 74.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.92e-05/1.742, allocations: 24.06 kB / 0.9562 GB, free: 73.99 MB / 474.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.002801/1.744, allocations: 0.9713 MB / 0.9571 GB, free: 72.97 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.744, allocations: 12.02 kB / 0.9571 GB, free: 72.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005704/1.745, allocations: 91.05 kB / 0.9572 GB, free: 72.87 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/1.746, allocations: 0.5428 MB / 0.9577 GB, free: 72.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.579e-05/1.746, allocations: 84.7 kB / 0.9578 GB, free: 72.19 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/1.746, allocations: 28 kB / 0.9578 GB, free: 72.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009474/1.747, allocations: 0.5492 MB / 0.9584 GB, free: 71.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/1.748, allocations: 0.7246 MB / 0.9591 GB, free: 70.81 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/1.748, allocations: 15.88 kB / 0.9591 GB, free: 70.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/1.749, allocations: 4 kB / 0.9591 GB, free: 70.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/1.749, allocations: 37.3 kB / 0.9591 GB, free: 70.76 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004059/1.753, allocations: 3.958 MB / 0.963 GB, free: 66.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/1.753, allocations: 311.5 kB / 0.9633 GB, free: 66.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/1.753, allocations: 161.3 kB / 0.9635 GB, free: 66.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/1.754, allocations: 344.7 kB / 0.9638 GB, free: 65.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/1.754, allocations: 42.84 kB / 0.9638 GB, free: 65.61 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.995e-06/1.754, allocations: 0 / 0.9638 GB, free: 65.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.003005/1.757, allocations: 1.264 MB / 0.9651 GB, free: 64.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/1.757, allocations: 132.5 kB / 0.9652 GB, free: 64.13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/1.757, allocations: 461.9 kB / 0.9656 GB, free: 63.67 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/1.757, allocations: 25.7 kB / 0.9656 GB, free: 63.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/1.758, allocations: 391 kB / 0.966 GB, free: 63.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/1.758, allocations: 134 kB / 0.9661 GB, free: 63.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/1.758, allocations: 0 / 0.9661 GB, free: 63.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/1.758, allocations: 370.8 kB / 0.9665 GB, free: 62.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/1.758, allocations: 201.5 kB / 0.9667 GB, free: 62.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/1.758, allocations: 0.5023 MB / 0.9672 GB, free: 61.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/1.759, allocations: 336.9 kB / 0.9675 GB, free: 61.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.759, allocations: 4 kB / 0.9675 GB, free: 61.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001662/1.761, allocations: 0.8903 MB / 0.9684 GB, free: 60.67 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.761, allocations: 11.98 kB / 0.9684 GB, free: 60.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.761, allocations: 12 kB / 0.9684 GB, free: 60.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007505/1.762, allocations: 225.3 kB / 0.9686 GB, free: 60.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/1.762, allocations: 127.8 kB / 0.9687 GB, free: 60.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007287/1.763, allocations: 0.8707 MB / 0.9696 GB, free: 59.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000615/1.763, allocations: 31.92 kB / 0.9696 GB, free: 59.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/1.763, allocations: 44.05 kB / 0.9697 GB, free: 59.33 MB / 474.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 () * 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.000151/1.764, allocations: 132.7 kB / 0.9698 GB, free: 59.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/1.764, allocations: 63.25 kB / 0.9698 GB, free: 59.13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/1.765, allocations: 0.5842 MB / 0.9704 GB, free: 58.53 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.765, allocations: 7.938 kB / 0.9704 GB, free: 58.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/1.765, allocations: 0 / 0.9704 GB, free: 58.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.765, allocations: 3.953 kB / 0.9704 GB, free: 58.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/1.767, allocations: 1.472 MB / 0.9719 GB, free: 56.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.767, allocations: 4 kB / 0.9719 GB, free: 56.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008584/1.768, allocations: 188 kB / 0.972 GB, free: 56.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/1.768, allocations: 48.8 kB / 0.9721 GB, free: 56.69 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/1.768, allocations: 15.98 kB / 0.9721 GB, free: 56.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/1.769, allocations: 2.68 MB / 0.9747 GB, free: 53.76 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.77, allocations: 4.031 kB / 0.9747 GB, free: 53.76 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/1.771, allocations: 0.9492 MB / 0.9757 GB, free: 52.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/1.771, allocations: 192.2 kB / 0.9758 GB, free: 52.53 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/1.771, allocations: 8 kB / 0.9759 GB, free: 52.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/1.772, allocations: 23.98 kB / 0.9759 GB, free: 52.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/1.772, allocations: 35.91 kB / 0.9759 GB, free: 52.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/1.772, allocations: 19.98 kB / 0.9759 GB, free: 52.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003226/1.772, allocations: 330.9 kB / 0.9762 GB, free: 52.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.772, allocations: 0 / 0.9762 GB, free: 52.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009173/1.773, allocations: 196 kB / 0.9764 GB, free: 51.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * 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.0005339/1.773, allocations: 266.5 kB / 0.9767 GB, free: 51.67 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008885/1.774, allocations: 0.5195 MB / 0.9772 GB, free: 51.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.774, allocations: 0 / 0.9772 GB, free: 51.14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000889/1.775, allocations: 434.9 kB / 0.9776 GB, free: 50.71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/1.777, allocations: 264.7 kB / 0.9779 GB, free: 50.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/1.778, allocations: 0.9538 MB / 0.9788 GB, free: 49.46 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/1.779, allocations: 0.9498 MB / 0.9797 GB, free: 48.48 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007611/1.78, allocations: 189.4 kB / 0.9799 GB, free: 48.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/1.78, allocations: 63.42 kB / 0.98 GB, free: 48.23 MB / 474.7 MB Notification: Performance of SimCode: time 9.02e-07/1.78, allocations: 0 / 0.98 GB, free: 48.23 MB / 474.7 MB Notification: Performance of Templates: time 0.01867/1.799, allocations: 11.67 MB / 0.9914 GB, free: 36.62 MB / 474.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)