Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001769/0.001769, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.001004/0.001004, allocations: 90.56 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2654/0.2654, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.177e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.678/7.813, allocations: 2.795 GB / 3.261 GB, free: 90.35 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003916/7.813, allocations: 94.91 kB / 3.261 GB, free: 90.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.232/10.04, allocations: 0.4884 GB / 3.749 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.643e-06/10.04, allocations: 0 / 3.749 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.97e-05/10.04, allocations: 21.78 kB / 3.749 GB, free: 62.59 MB / 0.5105 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.007094/10.05, allocations: 1.719 MB / 3.751 GB, free: 62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/10.05, allocations: 12.38 kB / 3.751 GB, free: 62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/10.05, allocations: 319.4 kB / 3.751 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/10.06, allocations: 0.6084 MB / 3.752 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/10.06, allocations: 89.91 kB / 3.752 GB, free: 61.67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/10.06, allocations: 34.53 kB / 3.752 GB, free: 61.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001241/10.06, allocations: 0.6436 MB / 3.753 GB, free: 61.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/10.06, allocations: 0.8889 MB / 3.754 GB, free: 61.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/10.06, allocations: 5.469 kB / 3.754 GB, free: 61.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/10.06, allocations: 5.609 kB / 3.754 GB, free: 61.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.663e-05/10.06, allocations: 45.94 kB / 3.754 GB, free: 61.36 MB / 0.5105 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.1594/10.22, allocations: 83.09 MB / 3.835 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/10.22, allocations: 357.8 kB / 3.835 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/10.22, allocations: 155.2 kB / 3.835 GB, free: 26.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07741/10.3, allocations: 38.47 MB / 3.873 GB, free: 34.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/10.3, allocations: 41.69 kB / 3.873 GB, free: 34.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 2.474e-06/10.3, allocations: 0 / 3.873 GB, free: 34.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37): time 0.004167/10.3, allocations: 1.374 MB / 3.874 GB, free: 34.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.891e-05/10.3, allocations: 135.7 kB / 3.874 GB, free: 34.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006972/10.3, allocations: 486.5 kB / 3.875 GB, free: 33.94 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/10.3, allocations: 30.73 kB / 3.875 GB, free: 33.91 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/10.3, allocations: 424.1 kB / 3.875 GB, free: 33.67 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.411e-05/10.3, allocations: 140 kB / 3.875 GB, free: 33.58 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/10.3, allocations: 0 / 3.875 GB, free: 33.58 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001857/10.3, allocations: 368.6 kB / 3.876 GB, free: 33.27 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/10.3, allocations: 194 kB / 3.876 GB, free: 33.27 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/10.3, allocations: 0.5306 MB / 3.877 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/10.3, allocations: 313.2 kB / 3.877 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/10.3, allocations: 3.781 kB / 3.877 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001264/10.31, allocations: 0.7559 MB / 3.878 GB, free: 32.73 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/10.31, allocations: 11.19 kB / 3.878 GB, free: 32.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/10.31, allocations: 14.53 kB / 3.878 GB, free: 32.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/10.31, allocations: 64.73 kB / 3.878 GB, free: 32.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/10.31, allocations: 284 kB / 3.878 GB, free: 32.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/10.31, allocations: 1.933 MB / 3.88 GB, free: 30.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007737/10.31, allocations: 40.38 kB / 3.88 GB, free: 30.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/10.31, allocations: 43.75 kB / 3.88 GB, free: 30.93 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.0002728/10.31, allocations: 148.7 kB / 3.88 GB, free: 30.8 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008566/10.31, allocations: 431.6 kB / 3.88 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/10.31, allocations: 66.56 kB / 3.881 GB, free: 30.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/10.31, allocations: 1.589 MB / 3.882 GB, free: 30.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/10.31, allocations: 29.14 kB / 3.882 GB, free: 30.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/10.31, allocations: 0 / 3.882 GB, free: 30.48 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/10.31, allocations: 0 / 3.882 GB, free: 30.48 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/10.32, allocations: 2.447 MB / 3.884 GB, free: 30.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/10.32, allocations: 0 / 3.884 GB, free: 30.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008717/10.32, allocations: 174.5 kB / 3.885 GB, free: 30.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002742/10.32, allocations: 80.61 kB / 3.885 GB, free: 30.06 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/10.32, allocations: 6.969 kB / 3.885 GB, free: 30.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/10.32, allocations: 1.969 MB / 3.887 GB, free: 28.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/10.32, allocations: 0 / 3.887 GB, free: 28.27 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/10.32, allocations: 1.522 MB / 3.888 GB, free: 28.04 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004125/10.32, allocations: 218.8 kB / 3.888 GB, free: 27.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/10.32, allocations: 1.75 kB / 3.888 GB, free: 27.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004912/10.32, allocations: 55.92 kB / 3.888 GB, free: 27.88 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/10.32, allocations: 28.3 kB / 3.888 GB, free: 27.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/10.32, allocations: 18.67 kB / 3.888 GB, free: 27.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004661/10.32, allocations: 344.7 kB / 3.889 GB, free: 27.79 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.174e-06/10.32, allocations: 0 / 3.889 GB, free: 27.79 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006954/10.33, allocations: 1.089 MB / 3.89 GB, free: 27.64 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.01159/10.34, allocations: 3.604 MB / 3.893 GB, free: 26.64 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001964/10.34, allocations: 0.7843 MB / 3.894 GB, free: 26.62 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/10.34, allocations: 7.312 kB / 3.894 GB, free: 26.62 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009727/10.34, allocations: 0.5288 MB / 3.895 GB, free: 26.62 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/10.35, allocations: 268.2 kB / 3.895 GB, free: 26.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007204/10.35, allocations: 1.922 MB / 3.897 GB, free: 26.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/10.35, allocations: 1.078 MB / 3.898 GB, free: 25.31 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001168/10.36, allocations: 0.5015 MB / 3.898 GB, free: 25.28 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/10.36, allocations: 326.5 kB / 3.899 GB, free: 25.27 MB / 0.5573 GB Notification: Performance of SimCode: time 2.284e-06/10.36, allocations: 0 / 3.899 GB, free: 25.27 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09068/10.45, allocations: 42.27 MB / 3.94 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003278/10.45, allocations: 202.6 kB / 3.94 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.454/13.9, allocations: 0 / 3.94 GB, free: 10.89 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat