Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001817/0.001817, allocations: 183.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008984/0.0008984, allocations: 98.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.34/0.34, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1439, allocations: 58.86 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.576/6.72, allocations: 2.794 GB / 3.273 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/6.72, allocations: 95.31 kB / 3.273 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.708/8.428, allocations: 0.4924 GB / 3.765 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.274e-06/8.428, allocations: 4 kB / 3.765 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.823e-05/8.428, allocations: 23.91 kB / 3.765 GB, free: 23.41 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.008205/8.436, allocations: 1.774 MB / 3.767 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/8.436, allocations: 12.03 kB / 3.767 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004324/8.437, allocations: 110.5 kB / 3.767 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/8.439, allocations: 234.7 kB / 3.767 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/8.44, allocations: 0.5766 MB / 3.768 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/8.441, allocations: 115.8 kB / 3.768 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/8.441, allocations: 60 kB / 3.768 GB, free: 20.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/8.443, allocations: 1.07 MB / 3.769 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/8.443, allocations: 7.938 kB / 3.769 GB, free: 19.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/8.443, allocations: 24 kB / 3.769 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.556e-05/8.443, allocations: 44.98 kB / 3.769 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/8.445, allocations: 0.8037 MB / 3.77 GB, free: 18.41 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005891/8.451, allocations: 5.556 MB / 3.775 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/8.452, allocations: 0.5232 MB / 3.776 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4856/8.937, allocations: 47.18 MB / 3.822 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.208e-05/8.937, allocations: 40.66 kB / 3.822 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 2.665e-06/8.937, allocations: 0 / 3.822 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44): time 0.006454/8.944, allocations: 2.106 MB / 3.824 GB, free: 33.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/8.944, allocations: 186 kB / 3.824 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009567/8.945, allocations: 0.5665 MB / 3.825 GB, free: 32.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/8.945, allocations: 35.95 kB / 3.825 GB, free: 32.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/8.945, allocations: 396.7 kB / 3.825 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/8.945, allocations: 168.8 kB / 3.825 GB, free: 32.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/8.945, allocations: 11.69 kB / 3.825 GB, free: 32.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001278/8.946, allocations: 380.1 kB / 3.826 GB, free: 32.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/8.946, allocations: 226.1 kB / 3.826 GB, free: 32.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005094/8.946, allocations: 0.5865 MB / 3.827 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/8.947, allocations: 336.4 kB / 3.827 GB, free: 31.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/8.947, allocations: 3.812 kB / 3.827 GB, free: 31.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001282/8.948, allocations: 0.8882 MB / 3.828 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/8.948, allocations: 10.16 kB / 3.828 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/8.948, allocations: 16.69 kB / 3.828 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003862/8.952, allocations: 267.7 kB / 3.828 GB, free: 31.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/8.953, allocations: 282.7 kB / 3.828 GB, free: 31.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/8.955, allocations: 2.028 MB / 3.83 GB, free: 29.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008773/8.956, allocations: 55.03 kB / 3.83 GB, free: 29.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/8.956, allocations: 45.14 kB / 3.83 GB, free: 29.79 MB / 0.5105 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 () * Number of clocked 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.0005057/8.956, allocations: 269.8 kB / 3.831 GB, free: 29.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/8.956, allocations: 76.69 kB / 3.831 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/8.959, allocations: 2.017 MB / 3.833 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/8.959, allocations: 26.19 kB / 3.833 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/8.959, allocations: 5.766 kB / 3.833 GB, free: 29.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/8.959, allocations: 6.891 kB / 3.833 GB, free: 29.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/8.962, allocations: 2.998 MB / 3.836 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/8.962, allocations: 3.656 kB / 3.836 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/8.963, allocations: 189.9 kB / 3.836 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/8.965, allocations: 308.7 kB / 3.836 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/8.965, allocations: 17.22 kB / 3.836 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/8.966, allocations: 2.077 MB / 3.838 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/8.966, allocations: 6.188 kB / 3.838 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/8.968, allocations: 1.957 MB / 3.84 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/8.969, allocations: 289.4 kB / 3.84 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/8.969, allocations: 7.375 kB / 3.84 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/8.969, allocations: 37.58 kB / 3.84 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/8.969, allocations: 36.41 kB / 3.841 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/8.969, allocations: 22.11 kB / 3.841 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006709/8.97, allocations: 0.5604 MB / 3.841 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/8.97, allocations: 0 / 3.841 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006225/8.976, allocations: 1.142 MB / 3.842 GB, free: 26.46 MB / 0.5105 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 () * Number of clocked 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.01116/8.987, allocations: 4.101 MB / 3.846 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002216/8.99, allocations: 0.9084 MB / 3.847 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/8.99, allocations: 2.812 kB / 3.847 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/8.991, allocations: 0.628 MB / 3.848 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/8.993, allocations: 369 kB / 3.848 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/9.01, allocations: 13.66 MB / 3.861 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007624/9.011, allocations: 1.115 MB / 3.862 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001068/9.012, allocations: 358.5 kB / 3.863 GB, free: 30.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/9.012, allocations: 376.4 kB / 3.863 GB, free: 30.74 MB / 0.5261 GB Notification: Performance of SimCode: time 1.413e-06/9.012, allocations: 0 / 3.863 GB, free: 30.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/9.119, allocations: 50.83 MB / 3.913 GB, free: 28.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/9.119, allocations: 267.8 kB / 3.913 GB, free: 27.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.834/12.95, allocations: 0 / 3.913 GB, free: 27.75 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat