Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 176.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009539/0.0009539, allocations: 90.95 kB / 292.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4159/0.4159, allocations: 44.22 MB / 387.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.000411, allocations: 8 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4207, allocations: 61.9 MB / 0.5096 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.612, allocations: 422.9 MB / 0.9226 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/1.613, allocations: 96.98 kB / 0.9227 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2353/1.848, allocations: 122.2 MB / 1.042 GB, free: 44.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.956e-06/1.848, allocations: 0 / 1.042 GB, free: 44.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.481e-05/1.848, allocations: 20 kB / 1.042 GB, free: 44.45 MB / 0.5261 GB 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.002914/1.851, allocations: 1.059 MB / 1.043 GB, free: 43.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.839e-05/1.851, allocations: 8.562 kB / 1.043 GB, free: 43.33 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/1.851, allocations: 98.5 kB / 1.043 GB, free: 43.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003836/1.852, allocations: 83.16 kB / 1.043 GB, free: 43.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/1.853, allocations: 0.552 MB / 1.044 GB, free: 42.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/1.853, allocations: 100.4 kB / 1.044 GB, free: 42.44 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.731e-05/1.853, allocations: 51.98 kB / 1.044 GB, free: 42.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/1.854, allocations: 0.8151 MB / 1.045 GB, free: 41.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/1.854, allocations: 11.94 kB / 1.045 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/1.854, allocations: 24 kB / 1.045 GB, free: 41.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/1.855, allocations: 32.98 kB / 1.045 GB, free: 41.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009039/1.855, allocations: 0.6361 MB / 1.045 GB, free: 40.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/1.86, allocations: 3.928 MB / 1.049 GB, free: 36.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007175/1.86, allocations: 395.7 kB / 1.05 GB, free: 36.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004182/1.861, allocations: 0.5029 MB / 1.05 GB, free: 35.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/1.861, allocations: 38.89 kB / 1.05 GB, free: 35.58 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 2.285e-06/1.861, allocations: 0 / 1.05 GB, free: 35.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.002901/1.864, allocations: 1.505 MB / 1.052 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/1.864, allocations: 132.5 kB / 1.052 GB, free: 33.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/1.864, allocations: 0.4982 MB / 1.052 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/1.865, allocations: 37.7 kB / 1.052 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/1.865, allocations: 355 kB / 1.053 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/1.865, allocations: 165.7 kB / 1.053 GB, free: 32.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/1.865, allocations: 12 kB / 1.053 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.865, allocations: 374.8 kB / 1.053 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/1.865, allocations: 221.8 kB / 1.053 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/1.866, allocations: 0.5123 MB / 1.054 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/1.866, allocations: 308.9 kB / 1.054 GB, free: 31.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.866, allocations: 4 kB / 1.054 GB, free: 31.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001475/1.868, allocations: 0.9259 MB / 1.055 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.868, allocations: 12.03 kB / 1.055 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.868, allocations: 8 kB / 1.055 GB, free: 30.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/1.869, allocations: 268.6 kB / 1.055 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/1.869, allocations: 127.8 kB / 1.055 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000788/1.87, allocations: 0.8708 MB / 1.056 GB, free: 29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/1.871, allocations: 44.05 kB / 1.056 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/1.871, allocations: 35.98 kB / 1.056 GB, free: 28.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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.0003905/1.871, allocations: 249.5 kB / 1.057 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/1.871, allocations: 79.09 kB / 1.057 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/1.873, allocations: 0.6914 MB / 1.057 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.873, allocations: 11.92 kB / 1.057 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.873, allocations: 0 / 1.057 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.873, allocations: 0 / 1.057 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/1.875, allocations: 1.395 MB / 1.059 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.875, allocations: 0 / 1.059 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009061/1.875, allocations: 195.7 kB / 1.059 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/1.876, allocations: 61 kB / 1.059 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/1.876, allocations: 16 kB / 1.059 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/1.878, allocations: 2.809 MB / 1.062 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.878, allocations: 4.031 kB / 1.062 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/1.879, allocations: 1.054 MB / 1.063 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/1.879, allocations: 204.2 kB / 1.063 GB, free: 21.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/1.879, allocations: 12 kB / 1.063 GB, free: 21.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/1.88, allocations: 36 kB / 1.063 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/1.88, allocations: 35.89 kB / 1.063 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/1.88, allocations: 19.98 kB / 1.063 GB, free: 21.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004127/1.88, allocations: 394.8 kB / 1.063 GB, free: 21.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.88, allocations: 0 / 1.063 GB, free: 21.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008769/1.881, allocations: 215.9 kB / 1.064 GB, free: 21 MB / 0.5261 GB 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.001881/1.883, allocations: 2.263 MB / 1.066 GB, free: 18.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001012/1.884, allocations: 0.5889 MB / 1.066 GB, free: 18.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.884, allocations: 8 kB / 1.066 GB, free: 18.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/1.885, allocations: 466.2 kB / 1.067 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.886, allocations: 321.7 kB / 1.067 GB, free: 17.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/1.893, allocations: 10.48 MB / 1.077 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/1.893, allocations: 0.9542 MB / 1.078 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008094/1.894, allocations: 204.2 kB / 1.079 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/1.895, allocations: 231.4 kB / 1.079 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of SimCode: time 1.402e-06/1.895, allocations: 4 kB / 1.079 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3109/2.205, allocations: 20.34 MB / 1.099 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/2.206, allocations: 296.3 kB / 1.099 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/5.052, allocations: 3.266 kB / 1.099 GB, free: 118.5 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat