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.001297/0.001297, allocations: 185.8 kB / 13.2 MB, free: 2.117 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.814/1.814, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001034/0.001033, allocations: 88.47 kB / 267.1 MB, free: 9.281 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.4508/0.4508, allocations: 43.48 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.211e-05/4.215e-05, allocations: 4 kB / 425.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1726, allocations: 58.83 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.583/1.756, allocations: 0.5092 GB / 0.9821 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/1.756, allocations: 97.86 kB / 0.9822 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7983/2.554, allocations: 234.5 MB / 1.211 GB, free: 89.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.035e-06/2.554, allocations: 2.844 kB / 1.211 GB, free: 89.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.977e-05/2.554, allocations: 16.08 kB / 1.211 GB, free: 89.34 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002808/2.557, allocations: 1.101 MB / 1.212 GB, free: 88.51 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/2.557, allocations: 10.28 kB / 1.212 GB, free: 88.51 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/2.557, allocations: 94.59 kB / 1.212 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007663/2.558, allocations: 140.3 kB / 1.213 GB, free: 88.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/2.559, allocations: 0.5296 MB / 1.213 GB, free: 87.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.5e-05/2.559, allocations: 106.2 kB / 1.213 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-05/2.559, allocations: 55.95 kB / 1.213 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/2.561, allocations: 0.8066 MB / 1.214 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/2.561, allocations: 0 / 1.214 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.031e-05/2.561, allocations: 21.56 kB / 1.214 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/2.561, allocations: 39.73 kB / 1.214 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008458/2.562, allocations: 0.6108 MB / 1.215 GB, free: 86.97 MB / 0.5105 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.003538/2.565, allocations: 3.929 MB / 1.218 GB, free: 83.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/2.566, allocations: 327.4 kB / 1.219 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/2.566, allocations: 158.5 kB / 1.219 GB, free: 83.22 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.609e-05/2.566, allocations: 30.69 kB / 1.219 GB, free: 83.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/2.566, allocations: 46.61 kB / 1.219 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.366e-06/2.566, allocations: 0 / 1.219 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.004799/2.571, allocations: 1.512 MB / 1.221 GB, free: 82.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/2.571, allocations: 140.4 kB / 1.221 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/2.571, allocations: 0.5322 MB / 1.221 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/2.571, allocations: 36.92 kB / 1.221 GB, free: 81.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/2.572, allocations: 364.4 kB / 1.222 GB, free: 81.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.187e-05/2.572, allocations: 149 kB / 1.222 GB, free: 81.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/2.572, allocations: 15.25 kB / 1.222 GB, free: 81.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001012/2.572, allocations: 371.1 kB / 1.222 GB, free: 80.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/2.572, allocations: 189.6 kB / 1.222 GB, free: 80.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/2.573, allocations: 0.5035 MB / 1.223 GB, free: 80.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/2.573, allocations: 287.3 kB / 1.223 GB, free: 79.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/2.573, allocations: 4 kB / 1.223 GB, free: 79.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001149/2.574, allocations: 0.8607 MB / 1.224 GB, free: 79.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/2.574, allocations: 11.94 kB / 1.224 GB, free: 79.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/2.574, allocations: 16 kB / 1.224 GB, free: 79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/2.575, allocations: 302 kB / 1.224 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/2.576, allocations: 123.8 kB / 1.224 GB, free: 78.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008409/2.577, allocations: 0.9292 MB / 1.225 GB, free: 77.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/2.577, allocations: 43.97 kB / 1.225 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/2.577, allocations: 60 kB / 1.225 GB, free: 77.52 MB / 0.5105 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.0001633/2.578, allocations: 157.9 kB / 1.225 GB, free: 77.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/2.578, allocations: 75.14 kB / 1.226 GB, free: 77.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/2.579, allocations: 0.6667 MB / 1.226 GB, free: 76.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/2.579, allocations: 4 kB / 1.226 GB, free: 76.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/2.579, allocations: 7.984 kB / 1.226 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/2.579, allocations: 7.938 kB / 1.226 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/2.581, allocations: 1.25 MB / 1.227 GB, free: 75.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/2.581, allocations: 0 / 1.227 GB, free: 75.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009609/2.582, allocations: 211.9 kB / 1.228 GB, free: 75.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.351e-05/2.582, allocations: 20.84 kB / 1.228 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/2.582, allocations: 19.98 kB / 1.228 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/2.583, allocations: 2.692 MB / 1.23 GB, free: 72.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/2.583, allocations: 0 / 1.23 GB, free: 72.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/2.584, allocations: 0.8256 MB / 1.231 GB, free: 71.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/2.584, allocations: 184.2 kB / 1.231 GB, free: 70.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.223e-05/2.584, allocations: 12 kB / 1.231 GB, free: 70.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/2.585, allocations: 28.03 kB / 1.231 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/2.585, allocations: 35.92 kB / 1.231 GB, free: 70.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.871e-05/2.585, allocations: 47.97 kB / 1.231 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004384/2.585, allocations: 419.2 kB / 1.232 GB, free: 70.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.585, allocations: 0 / 1.232 GB, free: 70.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001469/2.587, allocations: 393.6 kB / 1.232 GB, free: 70.06 MB / 0.5105 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 () * 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.00275/2.59, allocations: 2.562 MB / 1.235 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009708/2.591, allocations: 0.5358 MB / 1.235 GB, free: 67.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/2.591, allocations: 4 kB / 1.235 GB, free: 67.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/2.592, allocations: 398.3 kB / 1.236 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/2.593, allocations: 335 kB / 1.236 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/2.595, allocations: 1.161 MB / 1.237 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/2.595, allocations: 0.9378 MB / 1.238 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009451/2.596, allocations: 269.9 kB / 1.238 GB, free: 63.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/2.597, allocations: 271.3 kB / 1.238 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/2.597, allocations: 0 / 1.238 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05673/2.653, allocations: 38.44 MB / 1.276 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/2.654, allocations: 246.8 kB / 1.276 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.542/6.196, allocations: 0 / 1.276 GB, free: 24.83 MB / 0.5105 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