Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01276/0.01276, allocations: 165.1 kB / 15.11 MB, free: 5.969 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.368/1.368, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001824/0.001825, allocations: 114.5 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3932/0.3932, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004358, allocations: 12 kB / 362.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 48.71 MB / 411.6 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/1.425, allocations: 408.5 MB / 0.8009 GB, free: 111.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/1.426, allocations: 95.78 kB / 0.801 GB, free: 111.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5605/1.986, allocations: 118 MB / 0.9162 GB, free: 75.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.885e-06/1.986, allocations: 3.375 kB / 0.9162 GB, free: 75.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001632/1.987, allocations: 17.22 kB / 0.9162 GB, free: 75.8 MB / 426.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.004497/1.991, allocations: 1.049 MB / 0.9172 GB, free: 75.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/1.991, allocations: 9.312 kB / 0.9173 GB, free: 75.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/1.992, allocations: 94.12 kB / 0.9173 GB, free: 75.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/1.994, allocations: 0.5472 MB / 0.9179 GB, free: 75.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/1.995, allocations: 103.3 kB / 0.918 GB, free: 74.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/1.995, allocations: 49.42 kB / 0.918 GB, free: 74.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/1.997, allocations: 0.8039 MB / 0.9188 GB, free: 74.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/1.997, allocations: 7.469 kB / 0.9188 GB, free: 74.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/1.997, allocations: 23.31 kB / 0.9188 GB, free: 74.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.9e-05/1.998, allocations: 42.19 kB / 0.9189 GB, free: 74.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/1.999, allocations: 0.6354 MB / 0.9195 GB, free: 74.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006967/2.006, allocations: 3.903 MB / 0.9233 GB, free: 72.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009943/2.007, allocations: 385.8 kB / 0.9237 GB, free: 72.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005886/2.008, allocations: 0.5018 MB / 0.9242 GB, free: 71.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/2.008, allocations: 36.64 kB / 0.9242 GB, free: 71.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 4.689e-06/2.008, allocations: 2.625 kB / 0.9242 GB, free: 71.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.004292/2.012, allocations: 1.482 MB / 0.9257 GB, free: 71.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.435e-05/2.012, allocations: 140.6 kB / 0.9258 GB, free: 71.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/2.013, allocations: 499.7 kB / 0.9263 GB, free: 71.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/2.013, allocations: 36.58 kB / 0.9263 GB, free: 71.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/2.014, allocations: 361.5 kB / 0.9266 GB, free: 70.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/2.014, allocations: 161.2 kB / 0.9268 GB, free: 70.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/2.014, allocations: 18.28 kB / 0.9268 GB, free: 70.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/2.014, allocations: 374 kB / 0.9272 GB, free: 70.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/2.014, allocations: 220.7 kB / 0.9274 GB, free: 70.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/2.015, allocations: 0.5323 MB / 0.9279 GB, free: 70.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/2.016, allocations: 318.6 kB / 0.9282 GB, free: 70.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/2.016, allocations: 3.156 kB / 0.9282 GB, free: 70.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002314/2.018, allocations: 0.9692 MB / 0.9292 GB, free: 69.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/2.018, allocations: 12.59 kB / 0.9292 GB, free: 69.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/2.018, allocations: 9.125 kB / 0.9292 GB, free: 69.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/2.019, allocations: 260.3 kB / 0.9294 GB, free: 69.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/2.02, allocations: 134.3 kB / 0.9296 GB, free: 69.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/2.021, allocations: 0.8551 MB / 0.9304 GB, free: 69.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009759/2.022, allocations: 53.52 kB / 0.9304 GB, free: 69.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/2.022, allocations: 38.58 kB / 0.9305 GB, free: 69.41 MB / 426.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.0005752/2.023, allocations: 249.2 kB / 0.9307 GB, free: 69.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/2.023, allocations: 65.09 kB / 0.9308 GB, free: 69.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/2.025, allocations: 0.6945 MB / 0.9315 GB, free: 69.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/2.025, allocations: 8.688 kB / 0.9315 GB, free: 69.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/2.025, allocations: 0 / 0.9315 GB, free: 69.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/2.025, allocations: 4.844 kB / 0.9315 GB, free: 69.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/2.028, allocations: 1.369 MB / 0.9328 GB, free: 68.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/2.028, allocations: 2.594 kB / 0.9328 GB, free: 68.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/2.029, allocations: 193.2 kB / 0.933 GB, free: 68.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003252/2.029, allocations: 67.34 kB / 0.9331 GB, free: 68.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/2.029, allocations: 17.14 kB / 0.9331 GB, free: 68.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/2.032, allocations: 2.809 MB / 0.9358 GB, free: 66.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/2.032, allocations: 3.75 kB / 0.9358 GB, free: 66.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/2.034, allocations: 1.043 MB / 0.9368 GB, free: 65.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006101/2.034, allocations: 201.3 kB / 0.937 GB, free: 65.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/2.035, allocations: 14.44 kB / 0.937 GB, free: 65.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/2.035, allocations: 26.36 kB / 0.9371 GB, free: 65.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/2.035, allocations: 35.16 kB / 0.9371 GB, free: 65.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.127e-05/2.035, allocations: 24.25 kB / 0.9371 GB, free: 65.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007361/2.036, allocations: 385.8 kB / 0.9375 GB, free: 65.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.036, allocations: 0 / 0.9375 GB, free: 65.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001632/2.038, allocations: 224.1 kB / 0.9377 GB, free: 65.62 MB / 426.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.0009684/2.039, allocations: 272.3 kB / 0.938 GB, free: 65.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001725/2.041, allocations: 0.5984 MB / 0.9386 GB, free: 65.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/2.041, allocations: 0 / 0.9386 GB, free: 65.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/2.042, allocations: 469.5 kB / 0.939 GB, free: 65.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/2.044, allocations: 299.6 kB / 0.9393 GB, free: 65.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/2.047, allocations: 1.64 MB / 0.9409 GB, free: 64.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/2.048, allocations: 0.9554 MB / 0.9418 GB, free: 64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001009/2.049, allocations: 208.3 kB / 0.942 GB, free: 63.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/2.049, allocations: 58.7 kB / 0.9421 GB, free: 63.98 MB / 426.7 MB Notification: Performance of SimCode: time 2.545e-06/2.049, allocations: 0 / 0.9421 GB, free: 63.98 MB / 426.7 MB Notification: Performance of Templates: time 0.03469/2.084, allocations: 13.08 MB / 0.9548 GB, free: 63.41 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)