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.001122/0.001122, allocations: 170 kB / 12.72 MB, free: 2.594 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.279/1.279, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001694/0.001694, allocations: 106.8 kB / 223.2 MB, free: 4.043 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.1905/0.1905, allocations: 38 MB / 300.4 MB, free: 5.332 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.798e-05/3.801e-05, allocations: 0 / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/1.221, allocations: 408.4 MB / 0.795 GB, free: 147.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/1.222, allocations: 95.06 kB / 0.7951 GB, free: 147.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.22/1.442, allocations: 117.6 MB / 0.91 GB, free: 29.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/1.442, allocations: 0 / 0.91 GB, free: 29.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.047e-05/1.442, allocations: 16 kB / 0.91 GB, free: 29.46 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.001931/1.444, allocations: 0.9756 MB / 0.9109 GB, free: 28.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.444, allocations: 12.03 kB / 0.9109 GB, free: 28.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003111/1.444, allocations: 95.05 kB / 0.911 GB, free: 28.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009198/1.445, allocations: 0.5404 MB / 0.9116 GB, free: 27.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.853e-05/1.445, allocations: 100.4 kB / 0.9116 GB, free: 27.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.159e-05/1.445, allocations: 47.98 kB / 0.9117 GB, free: 27.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/1.446, allocations: 0.7989 MB / 0.9125 GB, free: 26.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/1.446, allocations: 7.844 kB / 0.9125 GB, free: 26.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/1.446, allocations: 24 kB / 0.9125 GB, free: 26.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/1.447, allocations: 44.97 kB / 0.9125 GB, free: 26.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007821/1.447, allocations: 0.6167 MB / 0.9131 GB, free: 26.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/1.451, allocations: 3.906 MB / 0.917 GB, free: 21.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/1.452, allocations: 383.8 kB / 0.9173 GB, free: 21.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/1.452, allocations: 197.5 kB / 0.9175 GB, free: 21.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003629/1.452, allocations: 0.4912 MB / 0.918 GB, free: 20.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/1.452, allocations: 42.88 kB / 0.918 GB, free: 20.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 2.816e-06/1.452, allocations: 0 / 0.918 GB, free: 20.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.002402/1.455, allocations: 1.322 MB / 0.9193 GB, free: 19.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/1.455, allocations: 136.5 kB / 0.9195 GB, free: 19.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/1.455, allocations: 492.8 kB / 0.9199 GB, free: 18.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.455, allocations: 33.7 kB / 0.92 GB, free: 18.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/1.455, allocations: 359.5 kB / 0.9203 GB, free: 18.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.856e-05/1.455, allocations: 169.6 kB / 0.9205 GB, free: 18.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/1.455, allocations: 15.94 kB / 0.9205 GB, free: 18.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.132e-05/1.456, allocations: 378.8 kB / 0.9208 GB, free: 17.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/1.456, allocations: 209.5 kB / 0.921 GB, free: 17.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/1.456, allocations: 0.5273 MB / 0.9216 GB, free: 16.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/1.457, allocations: 317.3 kB / 0.9219 GB, free: 16.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.457, allocations: 4 kB / 0.9219 GB, free: 16.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00144/1.458, allocations: 0.9531 MB / 0.9228 GB, free: 15.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.458, allocations: 8 kB / 0.9228 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/1.458, allocations: 8 kB / 0.9228 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/1.459, allocations: 252.8 kB / 0.923 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/1.46, allocations: 135.8 kB / 0.9232 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006563/1.46, allocations: 0.845 MB / 0.924 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/1.461, allocations: 47.89 kB / 0.924 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/1.461, allocations: 35.98 kB / 0.9241 GB, free: 14.16 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 () * 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.0001433/1.461, allocations: 168.7 kB / 0.9242 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.362e-05/1.461, allocations: 63.25 kB / 0.9243 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/1.462, allocations: 0.6801 MB / 0.925 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.462, allocations: 8 kB / 0.925 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.462, allocations: 0 / 0.925 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.462, allocations: 3.984 kB / 0.925 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/1.464, allocations: 1.36 MB / 0.9263 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.464, allocations: 3.984 kB / 0.9263 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008689/1.465, allocations: 192 kB / 0.9265 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/1.465, allocations: 60.73 kB / 0.9266 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/1.465, allocations: 15.94 kB / 0.9266 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/1.467, allocations: 2.785 MB / 0.9293 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.467, allocations: 3.938 kB / 0.9293 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/1.468, allocations: 1.042 MB / 0.9303 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/1.468, allocations: 196.2 kB / 0.9305 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/1.468, allocations: 15.98 kB / 0.9305 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/1.469, allocations: 28.05 kB / 0.9305 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/1.469, allocations: 43.84 kB / 0.9306 GB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/1.469, allocations: 19.98 kB / 0.9306 GB, free: 7.012 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000386/1.469, allocations: 377.5 kB / 0.931 GB, free: 6.645 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.469, allocations: 0 / 0.931 GB, free: 6.645 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008759/1.47, allocations: 219.9 kB / 0.9312 GB, free: 6.43 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 () * 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.0005225/1.47, allocations: 270.8 kB / 0.9314 GB, free: 6.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009541/1.471, allocations: 0.5851 MB / 0.932 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.471, allocations: 0.5 kB / 0.932 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009191/1.472, allocations: 462.2 kB / 0.9324 GB, free: 5.113 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/1.474, allocations: 308.2 kB / 0.9327 GB, free: 4.816 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/1.475, allocations: 0.9995 MB / 0.9337 GB, free: 3.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/1.476, allocations: 0.9504 MB / 0.9346 GB, free: 2.789 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006489/1.476, allocations: 205.7 kB / 0.9348 GB, free: 2.586 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/1.476, allocations: 59.42 kB / 0.9349 GB, free: 2.531 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/1.476, allocations: 0 / 0.9349 GB, free: 2.531 MB / 426.7 MB Notification: Performance of Templates: time 0.2413/1.718, allocations: 13.13 MB / 0.9477 GB, free: 89.62 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)