Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",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.001553/0.001557, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001252/0.001252, allocations: 92.42 kB / 270.9 MB, free: 8.367 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.5334/0.5334, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004819, allocations: 15.98 kB / 431.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.141, allocations: 58.84 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.761/1.902, allocations: 0.5093 GB / 0.9881 GB, free: 57.11 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/1.902, allocations: 94.14 kB / 0.9882 GB, free: 57.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.149/3.051, allocations: 235.1 MB / 1.218 GB, free: 23.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.234e-06/3.051, allocations: 0 / 1.218 GB, free: 23.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.845e-05/3.051, allocations: 23.98 kB / 1.218 GB, free: 23.9 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003704/3.055, allocations: 1.175 MB / 1.219 GB, free: 22.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/3.055, allocations: 8.031 kB / 1.219 GB, free: 22.67 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002467/3.055, allocations: 110.4 kB / 1.219 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/3.056, allocations: 135.1 kB / 1.219 GB, free: 22.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/3.058, allocations: 0.5326 MB / 1.22 GB, free: 21.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/3.058, allocations: 108.3 kB / 1.22 GB, free: 21.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/3.058, allocations: 48 kB / 1.22 GB, free: 21.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/3.06, allocations: 0.8191 MB / 1.221 GB, free: 20.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/3.06, allocations: 0 / 1.221 GB, free: 20.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/3.06, allocations: 24 kB / 1.221 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.623e-05/3.06, allocations: 44.91 kB / 1.221 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/3.062, allocations: 0.6166 MB / 1.221 GB, free: 20.1 MB / 0.4948 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.005882/3.068, allocations: 3.934 MB / 1.225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000787/3.069, allocations: 343.6 kB / 1.225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/3.069, allocations: 24.92 kB / 1.226 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/3.069, allocations: 46.83 kB / 1.226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 3.156e-06/3.069, allocations: 0 / 1.226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.00911/3.078, allocations: 1.643 MB / 1.227 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/3.078, allocations: 136.5 kB / 1.227 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009602/3.079, allocations: 0.5344 MB / 1.228 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/3.079, allocations: 41.64 kB / 1.228 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/3.079, allocations: 401.2 kB / 1.228 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/3.08, allocations: 142 kB / 1.228 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/3.08, allocations: 12 kB / 1.228 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.24e-05/3.08, allocations: 338.8 kB / 1.229 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/3.08, allocations: 197.9 kB / 1.229 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007128/3.081, allocations: 0.5086 MB / 1.229 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007228/3.082, allocations: 286.6 kB / 1.23 GB, free: 11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/3.082, allocations: 0 / 1.23 GB, free: 11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002133/3.084, allocations: 0.8417 MB / 1.23 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/3.084, allocations: 12 kB / 1.23 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/3.084, allocations: 8 kB / 1.23 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/3.086, allocations: 323.5 kB / 1.231 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/3.087, allocations: 115.8 kB / 1.231 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/3.089, allocations: 0.9357 MB / 1.232 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/3.09, allocations: 47.95 kB / 1.232 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/3.09, allocations: 63.98 kB / 1.232 GB, free: 8.633 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0005076/3.09, allocations: 245.5 kB / 1.232 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/3.091, allocations: 67.25 kB / 1.232 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/3.093, allocations: 0.6743 MB / 1.233 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/3.093, allocations: 8 kB / 1.233 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/3.093, allocations: 4 kB / 1.233 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/3.093, allocations: 3.984 kB / 1.233 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/3.096, allocations: 1.269 MB / 1.234 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/3.096, allocations: 0 / 1.234 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/3.098, allocations: 207.8 kB / 1.234 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/3.098, allocations: 24.84 kB / 1.234 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/3.098, allocations: 20 kB / 1.234 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/3.1, allocations: 2.699 MB / 1.237 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/3.1, allocations: 0 / 1.237 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/3.102, allocations: 0.8336 MB / 1.238 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/3.102, allocations: 184.2 kB / 1.238 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/3.102, allocations: 15.94 kB / 1.238 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007464/3.103, allocations: 31.91 kB / 1.238 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/3.103, allocations: 35.92 kB / 1.238 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.235e-05/3.103, allocations: 48.03 kB / 1.238 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000727/3.104, allocations: 427 kB / 1.239 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/3.104, allocations: 0 / 1.239 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001846/3.106, allocations: 387.8 kB / 1.239 GB, free: 1.016 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3684/3.474, allocations: 2.566 MB / 1.241 GB, free: 81.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002179/3.477, allocations: 0.5342 MB / 1.242 GB, free: 81.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/3.477, allocations: 0 / 1.242 GB, free: 81.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/3.478, allocations: 392 kB / 1.242 GB, free: 81.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/3.482, allocations: 337.6 kB / 1.243 GB, free: 81.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/3.495, allocations: 10.9 MB / 1.253 GB, free: 73.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005941/3.495, allocations: 0.939 MB / 1.254 GB, free: 72.97 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/3.496, allocations: 290 kB / 1.254 GB, free: 72.96 MB / 0.4948 GB Notification: Performance of SimCode: time 1.312e-06/3.496, allocations: 0 / 1.254 GB, free: 72.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.782/7.279, allocations: 23.8 MB / 1.278 GB, free: 72.45 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat