Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",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.001849/0.00185, allocations: 169.7 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.511/1.511, allocations: 221.5 MB / 230.7 MB, free: 7.527 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.000913/0.000913, allocations: 96.88 kB / 281.6 MB, free: 5.277 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.2214/0.2214, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.124e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1517, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.471/7.623, allocations: 2.798 GB / 3.293 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/7.624, allocations: 94.81 kB / 3.293 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.836/9.459, allocations: 0.4909 GB / 3.784 GB, free: 69.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.615e-06/9.459, allocations: 0 / 3.784 GB, free: 69.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.661e-05/9.46, allocations: 15.72 kB / 3.784 GB, free: 69.9 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.006249/9.466, allocations: 1.706 MB / 3.786 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/9.466, allocations: 14.52 kB / 3.786 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/9.467, allocations: 230.1 kB / 3.786 GB, free: 68.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/9.468, allocations: 0.5773 MB / 3.786 GB, free: 68.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.172e-05/9.469, allocations: 99.72 kB / 3.787 GB, free: 68.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.659e-05/9.469, allocations: 33.91 kB / 3.787 GB, free: 68.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009286/9.47, allocations: 0.62 MB / 3.787 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/9.471, allocations: 0.8798 MB / 3.788 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/9.471, allocations: 7.875 kB / 3.788 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.286e-05/9.471, allocations: 5.375 kB / 3.788 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-05/9.471, allocations: 45.98 kB / 3.788 GB, free: 67.71 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.1121/9.583, allocations: 67.8 MB / 3.854 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/9.584, allocations: 346.8 kB / 3.855 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/9.584, allocations: 144.8 kB / 3.855 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4634/10.05, allocations: 47.36 MB / 3.901 GB, free: 77.87 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/10.05, allocations: 37.53 kB / 3.901 GB, free: 77.83 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 2.875e-06/10.05, allocations: 0.9688 kB / 3.901 GB, free: 77.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.005627/10.05, allocations: 1.596 MB / 3.903 GB, free: 77.51 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/10.05, allocations: 136 kB / 3.903 GB, free: 77.35 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006973/10.05, allocations: 499.7 kB / 3.903 GB, free: 77.23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/10.05, allocations: 25.7 kB / 3.903 GB, free: 77.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/10.05, allocations: 432.5 kB / 3.904 GB, free: 77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/10.05, allocations: 131.7 kB / 3.904 GB, free: 76.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/10.05, allocations: 0 / 3.904 GB, free: 76.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001351/10.05, allocations: 371 kB / 3.904 GB, free: 76.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/10.05, allocations: 204.4 kB / 3.904 GB, free: 76.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/10.06, allocations: 0.5625 MB / 3.905 GB, free: 76.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/10.06, allocations: 416.5 kB / 3.905 GB, free: 76.18 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/10.06, allocations: 4.828 kB / 3.905 GB, free: 76.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002009/10.06, allocations: 0.89 MB / 3.906 GB, free: 76.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/10.06, allocations: 12.22 kB / 3.906 GB, free: 76.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/10.06, allocations: 13.44 kB / 3.906 GB, free: 76.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002482/10.06, allocations: 72.52 kB / 3.906 GB, free: 76.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/10.06, allocations: 284.1 kB / 3.907 GB, free: 76.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/10.06, allocations: 2.06 MB / 3.909 GB, free: 74.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006896/10.06, allocations: 50.31 kB / 3.909 GB, free: 74.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/10.06, allocations: 42.78 kB / 3.909 GB, free: 74.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001805/10.06, allocations: 140.8 kB / 3.909 GB, free: 74.2 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001241/10.06, allocations: 0.5177 MB / 3.909 GB, free: 74.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/10.06, allocations: 66.7 kB / 3.909 GB, free: 74.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/10.07, allocations: 1.502 MB / 3.911 GB, free: 73.93 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/10.07, allocations: 22.8 kB / 3.911 GB, free: 73.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/10.07, allocations: 0 / 3.911 GB, free: 73.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/10.07, allocations: 3.047 kB / 3.911 GB, free: 73.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/10.07, allocations: 2.349 MB / 3.913 GB, free: 73.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/10.07, allocations: 0 / 3.913 GB, free: 73.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008115/10.07, allocations: 177.7 kB / 3.913 GB, free: 73.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/10.07, allocations: 111.6 kB / 3.913 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/10.07, allocations: 6.688 kB / 3.913 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/10.07, allocations: 2.088 MB / 3.915 GB, free: 71.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/10.07, allocations: 0 / 3.915 GB, free: 71.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/10.07, allocations: 1.511 MB / 3.917 GB, free: 71.51 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/10.07, allocations: 209.4 kB / 3.917 GB, free: 71.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/10.07, allocations: 9.203 kB / 3.917 GB, free: 71.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/10.07, allocations: 25.69 kB / 3.917 GB, free: 71.37 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/10.07, allocations: 26.36 kB / 3.917 GB, free: 71.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/10.07, allocations: 16 kB / 3.917 GB, free: 71.37 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003585/10.07, allocations: 348.8 kB / 3.918 GB, free: 71.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/10.07, allocations: 3.781 kB / 3.918 GB, free: 71.28 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004791/10.08, allocations: 1.09 MB / 3.919 GB, free: 71.28 MB / 0.5417 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.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007274/10.09, allocations: 3.613 MB / 3.922 GB, free: 70.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001545/10.09, allocations: 0.8009 MB / 3.923 GB, free: 70.49 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/10.09, allocations: 0 / 3.923 GB, free: 70.49 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009065/10.09, allocations: 0.539 MB / 3.923 GB, free: 70.49 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/10.09, allocations: 269.9 kB / 3.924 GB, free: 70.48 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/10.09, allocations: 1.892 MB / 3.926 GB, free: 70.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/10.09, allocations: 1.051 MB / 3.927 GB, free: 69.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007608/10.09, allocations: 426.1 kB / 3.927 GB, free: 69.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/10.1, allocations: 317.2 kB / 3.927 GB, free: 69.39 MB / 0.5417 GB Notification: Performance of SimCode: time 8.61e-07/10.1, allocations: 0 / 3.927 GB, free: 69.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07681/10.17, allocations: 41.63 MB / 3.968 GB, free: 67.49 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/10.17, allocations: 203.5 kB / 3.968 GB, free: 67.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.283/13.46, allocations: 0 / 3.968 GB, free: 67.23 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat