Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",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.001588/0.001593, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.708/1.708, allocations: 221.3 MB / 236 MB, free: 2.918 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008698/0.0008697, allocations: 92.05 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.239/0.239, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.847e-05/2.865e-05, allocations: 4.156 kB / 451.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1493, allocations: 61.92 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.269, allocations: 353.7 MB / 0.8472 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.27, allocations: 93.69 kB / 0.8473 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6023/1.872, allocations: 133.4 MB / 0.9776 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.796e-06/1.872, allocations: 0 / 0.9776 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.891e-05/1.872, allocations: 19.41 kB / 0.9776 GB, free: 150.2 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.001804/1.874, allocations: 0.8905 MB / 0.9784 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.874, allocations: 16.75 kB / 0.9785 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/1.874, allocations: 92.73 kB / 0.9785 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/1.874, allocations: 95.41 kB / 0.9786 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/1.875, allocations: 0.5386 MB / 0.9792 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.145e-05/1.876, allocations: 107.9 kB / 0.9793 GB, free: 149 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.926e-05/1.876, allocations: 42.22 kB / 0.9793 GB, free: 149 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/1.877, allocations: 0.8145 MB / 0.9801 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/1.877, allocations: 7.875 kB / 0.9801 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/1.877, allocations: 19 kB / 0.9801 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/1.877, allocations: 43.91 kB / 0.9802 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008312/1.878, allocations: 0.6067 MB / 0.9808 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/1.881, allocations: 4.03 MB / 0.9847 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/1.882, allocations: 337.3 kB / 0.985 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/1.882, allocations: 167.1 kB / 0.9852 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/1.884, allocations: 1.747 MB / 0.9869 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/1.884, allocations: 46.34 kB / 0.9869 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 1.864e-06/1.884, allocations: 0 / 0.9869 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.003028/1.887, allocations: 1.267 MB / 0.9882 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/1.887, allocations: 131.9 kB / 0.9883 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/1.888, allocations: 0.5471 MB / 0.9888 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/1.888, allocations: 33.7 kB / 0.9889 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/1.888, allocations: 397.3 kB / 0.9892 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.11e-05/1.888, allocations: 131.2 kB / 0.9894 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/1.888, allocations: 15.12 kB / 0.9894 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.888, allocations: 379.5 kB / 0.9897 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/1.888, allocations: 181.8 kB / 0.9899 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/1.889, allocations: 0.5325 MB / 0.9904 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/1.889, allocations: 302.9 kB / 0.9907 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.889, allocations: 3.031 kB / 0.9907 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001108/1.89, allocations: 0.8016 MB / 0.9915 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/1.89, allocations: 11.39 kB / 0.9915 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.89, allocations: 18.72 kB / 0.9915 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/1.891, allocations: 94.23 kB / 0.9916 GB, free: 139 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/1.891, allocations: 188.6 kB / 0.9918 GB, free: 139 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004275/1.892, allocations: 0.6587 MB / 0.9924 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/1.892, allocations: 44.27 kB / 0.9925 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/1.892, allocations: 37.22 kB / 0.9925 GB, free: 138.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002056/1.893, allocations: 167 kB / 0.9927 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.955e-05/1.893, allocations: 64.34 kB / 0.9927 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007623/1.893, allocations: 0.4929 MB / 0.9932 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.893, allocations: 3.969 kB / 0.9932 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.893, allocations: 0 / 0.9932 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.893, allocations: 0 / 0.9932 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/1.895, allocations: 1.206 MB / 0.9944 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.895, allocations: 3.969 kB / 0.9944 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/1.895, allocations: 72.27 kB / 0.9945 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000155/1.895, allocations: 42.33 kB / 0.9945 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/1.895, allocations: 10.66 kB / 0.9945 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002493/1.896, allocations: 0.5579 MB / 0.9951 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.896, allocations: 11.94 kB / 0.9951 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/1.897, allocations: 0.8303 MB / 0.9959 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/1.897, allocations: 199.5 kB / 0.9961 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-05/1.897, allocations: 11.75 kB / 0.9961 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/1.897, allocations: 25.7 kB / 0.9961 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/1.897, allocations: 45.75 kB / 0.9962 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/1.897, allocations: 22.8 kB / 0.9962 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006653/1.898, allocations: 448.7 kB / 0.9966 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.8e-07/1.898, allocations: 0 / 0.9966 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001279/1.899, allocations: 218.8 kB / 0.9968 GB, free: 135.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002075/1.902, allocations: 2.437 MB / 0.9992 GB, free: 133 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001127/1.903, allocations: 492.8 kB / 0.9997 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.903, allocations: 4 kB / 0.9997 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/1.903, allocations: 171.7 kB / 0.9998 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/1.905, allocations: 320.5 kB / 1 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/1.908, allocations: 1.092 MB / 1.001 GB, free: 131 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/1.908, allocations: 0.9493 MB / 1.002 GB, free: 130 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009231/1.909, allocations: 198.1 kB / 1.002 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/1.909, allocations: 235.3 kB / 1.003 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of SimCode: time 8.32e-07/1.909, allocations: 3.938 kB / 1.003 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04037/1.95, allocations: 20.26 MB / 1.022 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/1.95, allocations: 271.6 kB / 1.023 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.791/4.741, allocations: 0 / 1.023 GB, free: 109.3 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat