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.001237/0.001237, allocations: 177 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009496/0.0009496, allocations: 86.2 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/1.991e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 47.59 MB / 363.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8231/0.9367, allocations: 264.6 MB / 0.6131 GB, free: 63.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.937, allocations: 91.69 kB / 0.6132 GB, free: 63.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1522/1.089, allocations: 82.57 MB / 0.6938 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/1.089, allocations: 0 / 0.6938 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.382e-05/1.089, allocations: 8 kB / 0.6938 GB, free: 500 kB / 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.2587/1.348, allocations: 0.5195 MB / 0.6943 GB, free: 126.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.348, allocations: 10.03 kB / 0.6943 GB, free: 126.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004951/1.349, allocations: 37.66 kB / 0.6943 GB, free: 126.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/1.349, allocations: 270.5 kB / 0.6946 GB, free: 126.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/1.349, allocations: 7.844 kB / 0.6946 GB, free: 126.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/1.349, allocations: 17.39 kB / 0.6946 GB, free: 126.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004086/1.35, allocations: 152.8 kB / 0.6948 GB, free: 126.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/1.35, allocations: 273 kB / 0.695 GB, free: 126.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/1.35, allocations: 4.672 kB / 0.695 GB, free: 126.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/1.35, allocations: 2.406 kB / 0.695 GB, free: 126.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/1.35, allocations: 6.656 kB / 0.695 GB, free: 126.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/1.352, allocations: 1.671 MB / 0.6967 GB, free: 125 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/1.352, allocations: 121 kB / 0.6968 GB, free: 125 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/1.352, allocations: 61.2 kB / 0.6969 GB, free: 125 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/1.353, allocations: 175.9 kB / 0.697 GB, free: 124.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/1.353, allocations: 36.69 kB / 0.6971 GB, free: 124.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/1.353, allocations: 0 / 0.6971 GB, free: 124.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.001472/1.354, allocations: 0.5769 MB / 0.6976 GB, free: 124.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/1.354, allocations: 53.78 kB / 0.6977 GB, free: 124.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/1.354, allocations: 213.5 kB / 0.6979 GB, free: 124.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/1.354, allocations: 25.7 kB / 0.6979 GB, free: 124.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/1.355, allocations: 199.1 kB / 0.6981 GB, free: 124.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/1.355, allocations: 77.81 kB / 0.6982 GB, free: 124.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/1.355, allocations: 3.188 kB / 0.6982 GB, free: 124.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/1.355, allocations: 338.3 kB / 0.6985 GB, free: 123.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/1.355, allocations: 57.5 kB / 0.6985 GB, free: 123.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/1.355, allocations: 176.5 kB / 0.6987 GB, free: 123.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/1.355, allocations: 93.78 kB / 0.6988 GB, free: 123.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.355, allocations: 5.891 kB / 0.6988 GB, free: 123.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005491/1.356, allocations: 291.3 kB / 0.6991 GB, free: 123.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/1.356, allocations: 6.156 kB / 0.6991 GB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.356, allocations: 4.562 kB / 0.6991 GB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/1.356, allocations: 26.02 kB / 0.6991 GB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/1.356, allocations: 83.39 kB / 0.6992 GB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007785/1.357, allocations: 1.244 MB / 0.7004 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/1.357, allocations: 13.48 kB / 0.7004 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/1.357, allocations: 23.03 kB / 0.7004 GB, free: 122.4 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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.0001467/1.358, allocations: 118.2 kB / 0.7006 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003362/1.358, allocations: 172.3 kB / 0.7007 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/1.358, allocations: 25.14 kB / 0.7007 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/1.358, allocations: 186.6 kB / 0.7009 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.358, allocations: 3.172 kB / 0.7009 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/1.358, allocations: 1.188 kB / 0.7009 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003122/1.359, allocations: 472.3 kB / 0.7014 GB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/1.36, allocations: 0.7137 MB / 0.7021 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.36, allocations: 1.469 kB / 0.7021 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/1.36, allocations: 45.7 kB / 0.7021 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/1.36, allocations: 3.844 kB / 0.7021 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/1.36, allocations: 7.453 kB / 0.7021 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/1.36, allocations: 4.016 kB / 0.7021 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.36, allocations: 2.281 kB / 0.7021 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/1.361, allocations: 484.8 kB / 0.7026 GB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/1.361, allocations: 113.9 kB / 0.7027 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/1.361, allocations: 4.469 kB / 0.7027 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/1.361, allocations: 11.83 kB / 0.7027 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/1.361, allocations: 15.7 kB / 0.7027 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/1.361, allocations: 20.19 kB / 0.7028 GB, free: 120.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001427/1.361, allocations: 162.8 kB / 0.7029 GB, free: 120.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.361, allocations: 0 / 0.7029 GB, free: 120.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005188/1.362, allocations: 99 kB / 0.703 GB, free: 120.7 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.001006/1.363, allocations: 1.762 MB / 0.7047 GB, free: 119.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004037/1.363, allocations: 277.6 kB / 0.705 GB, free: 119.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.363, allocations: 4.5 kB / 0.705 GB, free: 119.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.869e-05/1.363, allocations: 63.3 kB / 0.7051 GB, free: 119.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/1.364, allocations: 108.8 kB / 0.7052 GB, free: 119.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/1.365, allocations: 481.1 kB / 0.7056 GB, free: 118.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/1.365, allocations: 0.7684 MB / 0.7064 GB, free: 118.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002647/1.366, allocations: 59.44 kB / 0.7064 GB, free: 118.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/1.366, allocations: 90.64 kB / 0.7065 GB, free: 118.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.754e-06/1.366, allocations: 0 / 0.7065 GB, free: 118.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/1.397, allocations: 7.339 MB / 0.7137 GB, free: 118 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/1.397, allocations: 182.3 kB / 0.7139 GB, free: 117.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/3.412, allocations: 0 / 0.7139 GB, free: 117.8 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