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.001474/0.001474, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.3 MB / 236 MB, free: 2.934 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.0008393/0.0008393, allocations: 91.8 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.259/0.259, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.321e-05/5.333e-05, allocations: 7.938 kB / 451.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1697, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.606/7.776, allocations: 2.799 GB / 3.301 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/7.776, allocations: 92.97 kB / 3.301 GB, free: 135 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.001/9.777, allocations: 0.4959 GB / 3.797 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.382e-06/9.777, allocations: 0 / 3.797 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.625e-05/9.777, allocations: 18.3 kB / 3.797 GB, free: 43.63 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.007444/9.785, allocations: 1.699 MB / 3.798 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/9.785, allocations: 8.031 kB / 3.798 GB, free: 41.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003271/9.785, allocations: 108.2 kB / 3.798 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/9.787, allocations: 240.5 kB / 3.799 GB, free: 41.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/9.789, allocations: 0.5815 MB / 3.799 GB, free: 40.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/9.789, allocations: 111.7 kB / 3.799 GB, free: 40.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/9.789, allocations: 60 kB / 3.799 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/9.791, allocations: 1.082 MB / 3.8 GB, free: 39.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/9.791, allocations: 7.938 kB / 3.8 GB, free: 39.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/9.791, allocations: 26.34 kB / 3.8 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-05/9.791, allocations: 44.97 kB / 3.8 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/9.793, allocations: 0.8195 MB / 3.801 GB, free: 38.68 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.005422/9.798, allocations: 5.558 MB / 3.807 GB, free: 32.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/9.799, allocations: 0.5523 MB / 3.807 GB, free: 32.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/9.799, allocations: 205.7 kB / 3.807 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4684/10.27, allocations: 47.35 MB / 3.854 GB, free: 72.35 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/10.27, allocations: 41.5 kB / 3.854 GB, free: 72.31 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 1.933e-06/10.27, allocations: 2.719 kB / 3.854 GB, free: 72.31 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.006516/10.27, allocations: 2.005 MB / 3.856 GB, free: 71.84 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/10.27, allocations: 189.2 kB / 3.856 GB, free: 71.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008996/10.28, allocations: 0.5592 MB / 3.856 GB, free: 71.49 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/10.28, allocations: 33.83 kB / 3.856 GB, free: 71.46 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/10.28, allocations: 396.2 kB / 3.857 GB, free: 71.28 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/10.28, allocations: 163 kB / 3.857 GB, free: 71.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/10.28, allocations: 15.69 kB / 3.857 GB, free: 71.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001563/10.28, allocations: 380.1 kB / 3.857 GB, free: 70.89 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/10.28, allocations: 223.1 kB / 3.858 GB, free: 70.89 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/10.28, allocations: 0.5751 MB / 3.858 GB, free: 70.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/10.28, allocations: 331.3 kB / 3.858 GB, free: 70.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/10.28, allocations: 4.906 kB / 3.858 GB, free: 70.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001659/10.28, allocations: 0.8796 MB / 3.859 GB, free: 70.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/10.28, allocations: 11.2 kB / 3.859 GB, free: 70.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/10.28, allocations: 11.91 kB / 3.859 GB, free: 70.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003955/10.28, allocations: 272.8 kB / 3.86 GB, free: 70.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/10.28, allocations: 281.5 kB / 3.86 GB, free: 70.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/10.29, allocations: 2.018 MB / 3.862 GB, free: 68.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/10.29, allocations: 62.27 kB / 3.862 GB, free: 68.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/10.29, allocations: 43.19 kB / 3.862 GB, free: 68.51 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.0001957/10.29, allocations: 169.9 kB / 3.862 GB, free: 68.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/10.29, allocations: 78.5 kB / 3.862 GB, free: 68.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/10.29, allocations: 2.005 MB / 3.864 GB, free: 68.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/10.29, allocations: 22.62 kB / 3.864 GB, free: 68.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/10.29, allocations: 3.984 kB / 3.864 GB, free: 68.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/10.29, allocations: 1.281 kB / 3.864 GB, free: 68.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003838/10.29, allocations: 2.994 MB / 3.867 GB, free: 67.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/10.29, allocations: 3.656 kB / 3.867 GB, free: 67.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008819/10.29, allocations: 182.5 kB / 3.867 GB, free: 67.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/10.3, allocations: 295.3 kB / 3.868 GB, free: 67.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/10.3, allocations: 10.78 kB / 3.868 GB, free: 67.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/10.3, allocations: 2.091 MB / 3.87 GB, free: 65.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/10.3, allocations: 0 / 3.87 GB, free: 65.86 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/10.3, allocations: 1.946 MB / 3.871 GB, free: 65.44 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/10.3, allocations: 280.6 kB / 3.872 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.596e-05/10.3, allocations: 13.23 kB / 3.872 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/10.3, allocations: 41.75 kB / 3.872 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.955e-05/10.3, allocations: 27.39 kB / 3.872 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/10.3, allocations: 18.05 kB / 3.872 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007428/10.3, allocations: 0.5615 MB / 3.872 GB, free: 65.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/10.3, allocations: 0 / 3.872 GB, free: 65.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006366/10.31, allocations: 1.133 MB / 3.873 GB, free: 65.19 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009814/10.32, allocations: 4.102 MB / 3.878 GB, free: 64.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002045/10.32, allocations: 0.8975 MB / 3.878 GB, free: 64.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/10.32, allocations: 1.094 kB / 3.878 GB, free: 64.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/10.32, allocations: 0.6198 MB / 3.879 GB, free: 64.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/10.32, allocations: 379 kB / 3.879 GB, free: 64.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/10.33, allocations: 2.172 MB / 3.881 GB, free: 63.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/10.33, allocations: 1.112 MB / 3.883 GB, free: 62.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008878/10.33, allocations: 349.6 kB / 3.883 GB, free: 62.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/10.33, allocations: 382.2 kB / 3.883 GB, free: 62.87 MB / 0.5417 GB Notification: Performance of SimCode: time 7.82e-07/10.33, allocations: 0 / 3.883 GB, free: 62.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0854/10.42, allocations: 53.31 MB / 3.935 GB, free: 61.44 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/10.42, allocations: 241.1 kB / 3.936 GB, free: 61.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.7/14.12, allocations: 0 / 3.936 GB, free: 61.11 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