Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.002196/0.002202, allocations: 181.3 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 90.92 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4024/0.4024, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.633e-05/2.655e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4129, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.325/1.738, allocations: 419.7 MB / 0.8758 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/1.739, allocations: 92.17 kB / 0.8759 GB, free: 136.1 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.4032/2.142, allocations: 118.4 MB / 0.9915 GB, free: 29.23 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.195e-06/2.142, allocations: 0 / 0.9915 GB, free: 29.23 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 7.394e-05/2.142, allocations: 20 kB / 0.9915 GB, free: 29.21 MB / 0.4952 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.00294/2.145, allocations: 0.9763 MB / 0.9925 GB, free: 28.19 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/2.145, allocations: 8.031 kB / 0.9925 GB, free: 28.18 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005877/2.146, allocations: 95 kB / 0.9926 GB, free: 28.09 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/2.147, allocations: 0.5351 MB / 0.9931 GB, free: 27.51 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/2.147, allocations: 88.7 kB / 0.9932 GB, free: 27.41 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/2.148, allocations: 28 kB / 0.9932 GB, free: 27.38 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001371/2.149, allocations: 0.5414 MB / 0.9937 GB, free: 26.84 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/2.15, allocations: 0.7448 MB / 0.9945 GB, free: 26.02 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/2.15, allocations: 0 / 0.9945 GB, free: 26.02 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.599e-05/2.151, allocations: 4 kB / 0.9945 GB, free: 26.01 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.593e-05/2.151, allocations: 41.23 kB / 0.9945 GB, free: 25.97 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006538/2.157, allocations: 3.99 MB / 0.9984 GB, free: 21.73 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/2.158, allocations: 311.3 kB / 0.9987 GB, free: 21.41 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/2.159, allocations: 165.4 kB / 0.9989 GB, free: 21.25 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004061/2.159, allocations: 360.6 kB / 0.9992 GB, free: 20.82 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/2.159, allocations: 34.84 kB / 0.9992 GB, free: 20.78 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=34): time 2.786e-06/2.159, allocations: 0 / 0.9992 GB, free: 20.78 MB / 0.4952 GB Notification: Performance of matching and sorting (n=39): time 0.004921/2.164, allocations: 1.279 MB / 1 GB, free: 19.45 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/2.164, allocations: 140.4 kB / 1.001 GB, free: 19.28 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/2.165, allocations: 450 kB / 1.001 GB, free: 18.83 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/2.165, allocations: 25.7 kB / 1.001 GB, free: 18.8 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/2.165, allocations: 413.5 kB / 1.001 GB, free: 18.39 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/2.165, allocations: 142 kB / 1.002 GB, free: 18.25 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/2.165, allocations: 0 / 1.002 GB, free: 18.25 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.918e-05/2.165, allocations: 342.8 kB / 1.002 GB, free: 17.91 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/2.166, allocations: 197.5 kB / 1.002 GB, free: 17.72 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/2.166, allocations: 490.3 kB / 1.003 GB, free: 17.1 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/2.168, allocations: 335.9 kB / 1.003 GB, free: 16.78 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/2.168, allocations: 4 kB / 1.003 GB, free: 16.78 MB / 0.4952 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002886/2.171, allocations: 0.856 MB / 1.004 GB, free: 15.91 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/2.171, allocations: 14.97 kB / 1.004 GB, free: 15.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/2.171, allocations: 11.95 kB / 1.004 GB, free: 15.89 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/2.172, allocations: 232.7 kB / 1.004 GB, free: 15.66 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008802/2.173, allocations: 119.8 kB / 1.004 GB, free: 15.54 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/2.174, allocations: 0.8682 MB / 1.005 GB, free: 14.65 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/2.176, allocations: 47.83 kB / 1.005 GB, free: 14.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/2.176, allocations: 35.98 kB / 1.005 GB, free: 14.57 MB / 0.4952 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 () * 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.00024/2.176, allocations: 132.7 kB / 1.005 GB, free: 14.43 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001671/2.178, allocations: 481.5 kB / 1.006 GB, free: 13.95 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/2.178, allocations: 63.33 kB / 1.006 GB, free: 13.89 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/2.18, allocations: 0.5916 MB / 1.006 GB, free: 13.28 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/2.18, allocations: 4 kB / 1.006 GB, free: 13.28 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/2.18, allocations: 4 kB / 1.006 GB, free: 13.27 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/2.18, allocations: 3.984 kB / 1.006 GB, free: 13.27 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/2.184, allocations: 1.48 MB / 1.008 GB, free: 11.67 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/2.184, allocations: 0 / 1.008 GB, free: 11.67 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/2.186, allocations: 188 kB / 1.008 GB, free: 11.48 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003881/2.186, allocations: 52.8 kB / 1.008 GB, free: 11.43 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/2.186, allocations: 11.98 kB / 1.008 GB, free: 11.42 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/2.189, allocations: 2.682 MB / 1.011 GB, free: 8.512 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/2.189, allocations: 11.92 kB / 1.011 GB, free: 8.5 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/2.191, allocations: 0.9496 MB / 1.012 GB, free: 7.473 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/2.192, allocations: 192.3 kB / 1.012 GB, free: 7.266 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/2.192, allocations: 11.94 kB / 1.012 GB, free: 7.254 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007376/2.193, allocations: 15.92 kB / 1.012 GB, free: 7.238 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/2.193, allocations: 39.95 kB / 1.012 GB, free: 7.199 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/2.193, allocations: 19.98 kB / 1.012 GB, free: 7.18 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0005633/2.193, allocations: 326.9 kB / 1.012 GB, free: 6.863 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.31e-07/2.193, allocations: 0 / 1.012 GB, free: 6.863 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001419/2.195, allocations: 196 kB / 1.012 GB, free: 6.672 MB / 0.4952 GB 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.003307/2.198, allocations: 2.07 MB / 1.014 GB, free: 4.531 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001584/2.2, allocations: 0.5251 MB / 1.015 GB, free: 4.008 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/2.2, allocations: 192 / 1.015 GB, free: 4.008 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/2.201, allocations: 418.5 kB / 1.015 GB, free: 3.59 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/2.204, allocations: 267.6 kB / 1.015 GB, free: 3.324 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/2.208, allocations: 1.16 MB / 1.017 GB, free: 2.102 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/2.209, allocations: 0.9497 MB / 1.018 GB, free: 1.125 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/2.209, allocations: 235.3 kB / 1.018 GB, free: 0.8945 MB / 0.4952 GB Notification: Performance of SimCode: time 1.753e-06/2.209, allocations: 3.938 kB / 1.018 GB, free: 0.8906 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.683/5.892, allocations: 17.16 MB / 1.035 GB, free: 115.4 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat