Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001108/0.001108, allocations: 177.6 kB / 8.005 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.918/1.918, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001029/0.001029, allocations: 82.3 kB / 261.7 MB, free: 1.691 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.2905/0.2905, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.226e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.526/1.663, allocations: 0.5086 GB / 0.9746 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/1.664, allocations: 92.47 kB / 0.9747 GB, free: 125 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8416/2.505, allocations: 231.9 MB / 1.201 GB, free: 88.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.824e-06/2.505, allocations: 0 / 1.201 GB, free: 88.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.376e-05/2.505, allocations: 20 kB / 1.201 GB, free: 88.65 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.002764/2.508, allocations: 1.097 MB / 1.202 GB, free: 87.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/2.508, allocations: 15.97 kB / 1.202 GB, free: 87.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007904/2.509, allocations: 123.1 kB / 1.202 GB, free: 87.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009915/2.51, allocations: 0.5421 MB / 1.203 GB, free: 86.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.851e-05/2.51, allocations: 88.7 kB / 1.203 GB, free: 86.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.017e-05/2.51, allocations: 32 kB / 1.203 GB, free: 86.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007586/2.511, allocations: 0.5219 MB / 1.203 GB, free: 86.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008854/2.512, allocations: 0.737 MB / 1.204 GB, free: 85.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/2.512, allocations: 4 kB / 1.204 GB, free: 85.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/2.512, allocations: 7.984 kB / 1.204 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/2.512, allocations: 41.23 kB / 1.204 GB, free: 85.28 MB / 0.4948 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.00364/2.516, allocations: 3.883 MB / 1.208 GB, free: 81.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/2.516, allocations: 255.2 kB / 1.208 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/2.516, allocations: 133.3 kB / 1.208 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.523e-05/2.516, allocations: 21 kB / 1.208 GB, free: 80.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/2.516, allocations: 42.73 kB / 1.208 GB, free: 80.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.795e-06/2.516, allocations: 0 / 1.208 GB, free: 80.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.004721/2.521, allocations: 1.459 MB / 1.21 GB, free: 79.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/2.521, allocations: 132.5 kB / 1.21 GB, free: 79.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/2.522, allocations: 462.1 kB / 1.21 GB, free: 78.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/2.522, allocations: 25.7 kB / 1.211 GB, free: 78.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/2.522, allocations: 398.8 kB / 1.211 GB, free: 78.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/2.522, allocations: 114.4 kB / 1.211 GB, free: 78.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/2.522, allocations: 0 / 1.211 GB, free: 78.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/2.522, allocations: 366.8 kB / 1.211 GB, free: 77.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/2.522, allocations: 177.5 kB / 1.212 GB, free: 77.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/2.523, allocations: 493.1 kB / 1.212 GB, free: 76.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/2.523, allocations: 331.8 kB / 1.212 GB, free: 76.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/2.523, allocations: 4 kB / 1.212 GB, free: 76.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001169/2.524, allocations: 0.8181 MB / 1.213 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/2.524, allocations: 8 kB / 1.213 GB, free: 75.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/2.524, allocations: 12 kB / 1.213 GB, free: 75.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/2.526, allocations: 269.1 kB / 1.213 GB, free: 75.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/2.526, allocations: 123.8 kB / 1.214 GB, free: 75.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008537/2.527, allocations: 0.9568 MB / 1.214 GB, free: 74.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/2.527, allocations: 35.91 kB / 1.214 GB, free: 74.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/2.527, allocations: 72.05 kB / 1.215 GB, free: 74.21 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 () * 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.0001529/2.528, allocations: 128.8 kB / 1.215 GB, free: 74.08 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006749/2.528, allocations: 429.5 kB / 1.215 GB, free: 73.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/2.528, allocations: 63.3 kB / 1.215 GB, free: 73.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009618/2.529, allocations: 0.5048 MB / 1.216 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/2.529, allocations: 8 kB / 1.216 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/2.529, allocations: 7.984 kB / 1.216 GB, free: 73.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/2.529, allocations: 0 / 1.216 GB, free: 73.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/2.531, allocations: 0.9824 MB / 1.217 GB, free: 72.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/2.531, allocations: 3.984 kB / 1.217 GB, free: 72.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009619/2.532, allocations: 195.9 kB / 1.217 GB, free: 71.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.941e-05/2.532, allocations: 32.69 kB / 1.217 GB, free: 71.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/2.532, allocations: 8 kB / 1.217 GB, free: 71.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/2.533, allocations: 2.581 MB / 1.219 GB, free: 68.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/2.533, allocations: 3.938 kB / 1.219 GB, free: 68.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008646/2.534, allocations: 0.6784 MB / 1.22 GB, free: 68.28 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/2.534, allocations: 176.4 kB / 1.22 GB, free: 68.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.529e-05/2.534, allocations: 4 kB / 1.22 GB, free: 68.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/2.535, allocations: 23.97 kB / 1.22 GB, free: 68.06 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/2.535, allocations: 27.92 kB / 1.22 GB, free: 68.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/2.535, allocations: 39.92 kB / 1.22 GB, free: 67.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003669/2.535, allocations: 350.9 kB / 1.221 GB, free: 67.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/2.535, allocations: 0 / 1.221 GB, free: 67.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001339/2.537, allocations: 343.7 kB / 1.221 GB, free: 67.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.002787/2.54, allocations: 2.382 MB / 1.223 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009277/2.54, allocations: 487.8 kB / 1.224 GB, free: 64.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/2.54, allocations: 0 / 1.224 GB, free: 64.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007223/2.541, allocations: 353.5 kB / 1.224 GB, free: 64.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/2.542, allocations: 246.8 kB / 1.224 GB, free: 63.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/2.544, allocations: 1.071 MB / 1.225 GB, free: 62.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/2.545, allocations: 0.9412 MB / 1.226 GB, free: 61.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009156/2.546, allocations: 249.2 kB / 1.227 GB, free: 61.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/2.546, allocations: 259.3 kB / 1.227 GB, free: 61.38 MB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/2.546, allocations: 4 kB / 1.227 GB, free: 61.37 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04879/2.595, allocations: 25.6 MB / 1.252 GB, free: 35.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/2.595, allocations: 186.5 kB / 1.252 GB, free: 35.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.123/5.718, allocations: 0 / 1.252 GB, free: 35.61 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat