Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",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.001192/0.001192, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000871/0.000871, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/2.995e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 47.57 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6768/0.7797, allocations: 265 MB / 0.6202 GB, free: 57.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.7801, allocations: 95.3 kB / 0.6203 GB, free: 57.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3903/1.17, allocations: 82.94 MB / 0.7013 GB, free: 126.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.17, allocations: 0 / 0.7013 GB, free: 126.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.129e-05/1.17, allocations: 8.062 kB / 0.7013 GB, free: 126.3 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007216/1.171, allocations: 0.5233 MB / 0.7019 GB, free: 126 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.171, allocations: 10.17 kB / 0.7019 GB, free: 126 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.359e-05/1.171, allocations: 58.56 kB / 0.7019 GB, free: 125.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/1.172, allocations: 37.7 kB / 0.702 GB, free: 125.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/1.172, allocations: 284 kB / 0.7022 GB, free: 125.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/1.172, allocations: 18.84 kB / 0.7022 GB, free: 125.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/1.172, allocations: 29.7 kB / 0.7023 GB, free: 125.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/1.173, allocations: 306.5 kB / 0.7026 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.173, allocations: 11.52 kB / 0.7026 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/1.173, allocations: 11.72 kB / 0.7026 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/1.173, allocations: 6.438 kB / 0.7026 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/1.173, allocations: 175.2 kB / 0.7028 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/1.175, allocations: 1.73 MB / 0.7045 GB, free: 124.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/1.175, allocations: 126.5 kB / 0.7046 GB, free: 124.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/1.176, allocations: 68.31 kB / 0.7046 GB, free: 124.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/1.176, allocations: 170.8 kB / 0.7048 GB, free: 124.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/1.176, allocations: 33.97 kB / 0.7048 GB, free: 124 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/1.176, allocations: 0 / 0.7048 GB, free: 124 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.001646/1.177, allocations: 0.6792 MB / 0.7055 GB, free: 123.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/1.177, allocations: 54.97 kB / 0.7055 GB, free: 123.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/1.178, allocations: 250.9 kB / 0.7058 GB, free: 123.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/1.178, allocations: 30.86 kB / 0.7058 GB, free: 123.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/1.178, allocations: 203.5 kB / 0.706 GB, free: 123.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.341e-05/1.178, allocations: 75.67 kB / 0.7061 GB, free: 123.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/1.178, allocations: 3.5 kB / 0.7061 GB, free: 123.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/1.178, allocations: 338.5 kB / 0.7064 GB, free: 123.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/1.178, allocations: 70.25 kB / 0.7065 GB, free: 123.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/1.179, allocations: 181.2 kB / 0.7067 GB, free: 122.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/1.179, allocations: 101.4 kB / 0.7067 GB, free: 122.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.179, allocations: 1.062 kB / 0.7067 GB, free: 122.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005327/1.179, allocations: 325.3 kB / 0.7071 GB, free: 122.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.179, allocations: 6.875 kB / 0.7071 GB, free: 122.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.179, allocations: 4.125 kB / 0.7071 GB, free: 122.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/1.179, allocations: 22.88 kB / 0.7071 GB, free: 122.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/1.18, allocations: 89.28 kB / 0.7072 GB, free: 122.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008729/1.181, allocations: 1.3 MB / 0.7084 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/1.181, allocations: 15.22 kB / 0.7085 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/1.181, allocations: 16.61 kB / 0.7085 GB, free: 121.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.181, allocations: 123 kB / 0.7086 GB, free: 121.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/1.181, allocations: 26.22 kB / 0.7086 GB, free: 121.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004507/1.182, allocations: 216.9 kB / 0.7088 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/1.182, allocations: 7 kB / 0.7088 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/1.182, allocations: 0.7031 kB / 0.7088 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002906/1.182, allocations: 477.7 kB / 0.7093 GB, free: 121 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/1.183, allocations: 0.7746 MB / 0.71 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.183, allocations: 2.219 kB / 0.71 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/1.183, allocations: 45.22 kB / 0.7101 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/1.183, allocations: 2.844 kB / 0.7101 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/1.183, allocations: 11.92 kB / 0.7101 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/1.183, allocations: 4.922 kB / 0.7101 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.183, allocations: 1.344 kB / 0.7101 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/1.184, allocations: 0.4895 MB / 0.7106 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/1.184, allocations: 109.3 kB / 0.7107 GB, free: 120 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/1.184, allocations: 4.938 kB / 0.7107 GB, free: 120 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/1.184, allocations: 21.41 kB / 0.7107 GB, free: 120 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/1.184, allocations: 20.02 kB / 0.7107 GB, free: 120 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/1.184, allocations: 16.44 kB / 0.7108 GB, free: 120 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002256/1.185, allocations: 199.8 kB / 0.7109 GB, free: 120 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.185, allocations: 3.062 kB / 0.7109 GB, free: 120 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005366/1.185, allocations: 111.7 kB / 0.7111 GB, free: 120 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001106/1.186, allocations: 1.776 MB / 0.7128 GB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004756/1.187, allocations: 303.4 kB / 0.7131 GB, free: 118.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.187, allocations: 0 / 0.7131 GB, free: 118.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/1.187, allocations: 72.94 kB / 0.7131 GB, free: 118.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008887/1.188, allocations: 155.5 kB / 0.7133 GB, free: 118.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/1.189, allocations: 0.5053 MB / 0.7138 GB, free: 118.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/1.189, allocations: 0.7726 MB / 0.7145 GB, free: 117.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003447/1.189, allocations: 59.34 kB / 0.7146 GB, free: 117.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/1.19, allocations: 88.25 kB / 0.7147 GB, free: 117.4 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/1.19, allocations: 0 / 0.7147 GB, free: 117.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/1.217, allocations: 9.919 MB / 0.7244 GB, free: 116.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/1.217, allocations: 210 kB / 0.7246 GB, free: 116.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/3.222, allocations: 0 / 0.7246 GB, free: 116.5 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat