Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001132/0.001132, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 95.44 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 45.15 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.689e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.078/1.209, allocations: 354.1 MB / 0.8503 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/1.209, allocations: 88.94 kB / 0.8503 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5708/1.78, allocations: 132.4 MB / 0.9796 GB, free: 141 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.184e-06/1.78, allocations: 0 / 0.9796 GB, free: 141 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.679e-05/1.78, allocations: 21.62 kB / 0.9796 GB, free: 141 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.002501/1.782, allocations: 0.8962 MB / 0.9805 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.782, allocations: 15.67 kB / 0.9805 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005966/1.783, allocations: 87.94 kB / 0.9806 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/1.784, allocations: 0.5384 MB / 0.9811 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.605e-05/1.784, allocations: 90.77 kB / 0.9812 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/1.784, allocations: 27.59 kB / 0.9812 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00092/1.785, allocations: 0.5289 MB / 0.9818 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/1.786, allocations: 0.7392 MB / 0.9825 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/1.786, allocations: 6 kB / 0.9825 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.077e-05/1.787, allocations: 3.688 kB / 0.9825 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/1.787, allocations: 47.73 kB / 0.9825 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00401/1.791, allocations: 4.169 MB / 0.9866 GB, free: 137 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/1.791, allocations: 274.9 kB / 0.9869 GB, free: 137 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/1.791, allocations: 139.5 kB / 0.987 GB, free: 137 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/1.793, allocations: 1.426 MB / 0.9884 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/1.793, allocations: 36.97 kB / 0.9884 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/1.793, allocations: 0 / 0.9884 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24): time 0.002307/1.795, allocations: 0.8737 MB / 0.9893 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/1.795, allocations: 135.8 kB / 0.9894 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005828/1.796, allocations: 0.5061 MB / 0.9899 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/1.796, allocations: 25.7 kB / 0.9899 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/1.796, allocations: 437.6 kB / 0.9903 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/1.796, allocations: 93.86 kB / 0.9904 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/1.796, allocations: 3.094 kB / 0.9904 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/1.796, allocations: 371.1 kB / 0.9908 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/1.796, allocations: 154 kB / 0.9909 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/1.797, allocations: 0.497 MB / 0.9914 GB, free: 134 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/1.797, allocations: 265.3 kB / 0.9917 GB, free: 134 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.797, allocations: 3.781 kB / 0.9917 GB, free: 134 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001175/1.798, allocations: 0.6835 MB / 0.9924 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.798, allocations: 12.75 kB / 0.9924 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/1.799, allocations: 13.03 kB / 0.9924 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/1.799, allocations: 81.17 kB / 0.9925 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/1.799, allocations: 169.4 kB / 0.9926 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004964/1.8, allocations: 0.6865 MB / 0.9933 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/1.8, allocations: 29.88 kB / 0.9933 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/1.8, allocations: 40.91 kB / 0.9934 GB, free: 133.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (83): * Single equations (assignments): 82 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001323/1.801, allocations: 138.9 kB / 0.9935 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004335/1.801, allocations: 272.9 kB / 0.9937 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-05/1.801, allocations: 62.41 kB / 0.9938 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/1.802, allocations: 310.2 kB / 0.9941 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/1.802, allocations: 6.812 kB / 0.9941 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.802, allocations: 0 / 0.9941 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.802, allocations: 1.688 kB / 0.9941 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/1.803, allocations: 0.8539 MB / 0.9949 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.803, allocations: 3.781 kB / 0.9949 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/1.803, allocations: 51.64 kB / 0.995 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-05/1.803, allocations: 27 kB / 0.995 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/1.804, allocations: 3.781 kB / 0.995 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003191/1.804, allocations: 0.5589 MB / 0.9956 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.804, allocations: 3.844 kB / 0.9956 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/1.804, allocations: 0.5259 MB / 0.9961 GB, free: 132 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/1.805, allocations: 179.1 kB / 0.9963 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/1.805, allocations: 3.25 kB / 0.9963 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/1.805, allocations: 19.44 kB / 0.9963 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/1.805, allocations: 19.31 kB / 0.9963 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/1.805, allocations: 14.81 kB / 0.9963 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003822/1.806, allocations: 384.8 kB / 0.9967 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.806, allocations: 0 / 0.9967 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008664/1.806, allocations: 195.2 kB / 0.9969 GB, free: 131.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 23 * 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.001207/1.808, allocations: 1.491 MB / 0.9983 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000649/1.808, allocations: 388.9 kB / 0.9987 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.808, allocations: 0 / 0.9987 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/1.808, allocations: 105.7 kB / 0.9988 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/1.81, allocations: 240 kB / 0.999 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/1.811, allocations: 0.9112 MB / 0.9999 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/1.812, allocations: 0.9391 MB / 1.001 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005519/1.812, allocations: 175.9 kB / 1.001 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/1.812, allocations: 218.3 kB / 1.001 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of SimCode: time 7.01e-07/1.812, allocations: 0 / 1.001 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/1.853, allocations: 15.85 MB / 1.017 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/1.854, allocations: 206 kB / 1.017 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/4.262, allocations: 0.625 kB / 1.017 GB, free: 128.7 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat