Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",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.001017/0.001017, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.5 MB / 230.7 MB, free: 7.586 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.0009013/0.0009012, allocations: 94.48 kB / 281.6 MB, free: 5.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2196/0.2196, allocations: 44.15 MB / 376.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.1e-05, allocations: 224 / 444.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1414, allocations: 61.92 MB / 0.4948 GB, free: 1.184 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.642/7.784, allocations: 2.8 GB / 3.295 GB, free: 98.29 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/7.784, allocations: 96.92 kB / 3.295 GB, free: 98.24 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.681/9.465, allocations: 0.4933 GB / 3.788 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.302e-06/9.465, allocations: 0 / 3.788 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.123e-05/9.465, allocations: 19.75 kB / 3.788 GB, free: 29.62 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.007301/9.472, allocations: 1.714 MB / 3.79 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/9.472, allocations: 15.98 kB / 3.79 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/9.475, allocations: 326.4 kB / 3.79 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/9.476, allocations: 0.6063 MB / 3.791 GB, free: 26.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.569e-05/9.476, allocations: 92.7 kB / 3.791 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.943e-05/9.476, allocations: 32 kB / 3.791 GB, free: 26.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009288/9.477, allocations: 0.6468 MB / 3.791 GB, free: 26.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/9.478, allocations: 0.8864 MB / 3.792 GB, free: 25.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/9.478, allocations: 0 / 3.792 GB, free: 25.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/9.478, allocations: 7.938 kB / 3.792 GB, free: 25.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/9.478, allocations: 44.64 kB / 3.792 GB, free: 25.11 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5714/10.05, allocations: 83.1 MB / 3.873 GB, free: 24.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/10.05, allocations: 356.6 kB / 3.874 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/10.05, allocations: 161.9 kB / 3.874 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08296/10.13, allocations: 38.48 MB / 3.911 GB, free: 33.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/10.13, allocations: 45.84 kB / 3.912 GB, free: 33.12 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 4.288e-06/10.13, allocations: 0 / 3.912 GB, free: 33.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37): time 0.004596/10.14, allocations: 1.371 MB / 3.913 GB, free: 32.74 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/10.14, allocations: 132.8 kB / 3.913 GB, free: 32.58 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/10.14, allocations: 488 kB / 3.913 GB, free: 32.46 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.44e-05/10.14, allocations: 33.52 kB / 3.913 GB, free: 32.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/10.14, allocations: 426.4 kB / 3.914 GB, free: 32.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/10.14, allocations: 136.4 kB / 3.914 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/10.14, allocations: 0 / 3.914 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001846/10.14, allocations: 371.9 kB / 3.914 GB, free: 31.85 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/10.14, allocations: 195 kB / 3.915 GB, free: 31.85 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/10.14, allocations: 0.5304 MB / 3.915 GB, free: 31.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/10.14, allocations: 309.6 kB / 3.915 GB, free: 31.39 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/10.14, allocations: 5.625 kB / 3.915 GB, free: 31.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001499/10.14, allocations: 0.7589 MB / 3.916 GB, free: 31.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/10.14, allocations: 19.39 kB / 3.916 GB, free: 31.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/10.14, allocations: 13.06 kB / 3.916 GB, free: 31.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/10.14, allocations: 57.91 kB / 3.916 GB, free: 31.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/10.14, allocations: 278.6 kB / 3.916 GB, free: 31.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/10.15, allocations: 1.931 MB / 3.918 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000878/10.15, allocations: 46.38 kB / 3.918 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.69e-05/10.15, allocations: 42.69 kB / 3.918 GB, free: 29.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002541/10.15, allocations: 147.1 kB / 3.919 GB, free: 29.39 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008506/10.15, allocations: 420.8 kB / 3.919 GB, free: 29.32 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/10.15, allocations: 65.09 kB / 3.919 GB, free: 29.29 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/10.15, allocations: 1.588 MB / 3.921 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.961e-05/10.15, allocations: 22.47 kB / 3.921 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/10.15, allocations: 1.125 kB / 3.921 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/10.15, allocations: 0 / 3.921 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/10.15, allocations: 2.454 MB / 3.923 GB, free: 28.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/10.15, allocations: 0 / 3.923 GB, free: 28.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008492/10.15, allocations: 175.5 kB / 3.923 GB, free: 28.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002731/10.15, allocations: 87.3 kB / 3.923 GB, free: 28.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/10.15, allocations: 0 / 3.923 GB, free: 28.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/10.16, allocations: 1.979 MB / 3.925 GB, free: 26.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/10.16, allocations: 1.188 kB / 3.925 GB, free: 26.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/10.16, allocations: 1.52 MB / 3.927 GB, free: 26.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/10.16, allocations: 218.9 kB / 3.927 GB, free: 26.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/10.16, allocations: 6.594 kB / 3.927 GB, free: 26.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006009/10.16, allocations: 48.23 kB / 3.927 GB, free: 26.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/10.16, allocations: 29.22 kB / 3.927 GB, free: 26.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/10.16, allocations: 17.97 kB / 3.927 GB, free: 26.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004597/10.16, allocations: 344.5 kB / 3.927 GB, free: 26.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/10.16, allocations: 0 / 3.927 GB, free: 26.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005877/10.17, allocations: 1.092 MB / 3.928 GB, free: 26.41 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01402/10.18, allocations: 3.601 MB / 3.932 GB, free: 25.56 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002836/10.18, allocations: 0.7874 MB / 3.933 GB, free: 25.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.348e-05/10.18, allocations: 5.547 kB / 3.933 GB, free: 25.55 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/10.18, allocations: 0.5321 MB / 3.933 GB, free: 25.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/10.19, allocations: 267 kB / 3.933 GB, free: 25.53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009184/10.2, allocations: 1.912 MB / 3.935 GB, free: 25.08 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/10.2, allocations: 1.072 MB / 3.936 GB, free: 24.37 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001165/10.2, allocations: 0.5042 MB / 3.937 GB, free: 24.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/10.2, allocations: 326.2 kB / 3.937 GB, free: 24.34 MB / 0.5573 GB Notification: Performance of SimCode: time 1.423e-06/10.2, allocations: 3.875 kB / 3.937 GB, free: 24.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08557/10.28, allocations: 42.29 MB / 3.978 GB, free: 21.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/10.28, allocations: 215.9 kB / 3.979 GB, free: 21.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.324/13.61, allocations: 0 / 3.979 GB, free: 21.5 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat