Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_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.002073/0.002079, allocations: 187.1 kB / 16.4 MB, free: 5.621 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.026/2.026, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001149/0.001149, allocations: 98.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 11.98 kB / 327.1 MB, free: 14.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09516, allocations: 47.57 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4792/0.5744, allocations: 138 MB / 0.5006 GB, free: 3.395 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004099/0.5786, allocations: 1.941 MB / 0.5025 GB, free: 1.445 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.579, allocations: 4 kB / 0.5025 GB, free: 1.441 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007523/0.5798, allocations: 131.4 kB / 0.5027 GB, free: 1.312 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.5808, allocations: 279.1 kB / 0.5029 GB, free: 1.039 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.5821, allocations: 277.2 kB / 0.5032 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.5831, allocations: 490.9 kB / 0.5037 GB, free: 296 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.5834, allocations: 72.67 kB / 0.5037 GB, free: 224 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.585, allocations: 438.8 kB / 0.5041 GB, free: 15.79 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.5854, allocations: 163.4 kB / 0.5043 GB, free: 15.63 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.5855, allocations: 19.92 kB / 0.5043 GB, free: 15.61 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.586, allocations: 95.94 kB / 0.5044 GB, free: 15.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.5861, allocations: 75.78 kB / 0.5045 GB, free: 15.44 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.5863, allocations: 97.52 kB / 0.5046 GB, free: 15.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007079/0.587, allocations: 393.5 kB / 0.505 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.587, allocations: 0 / 0.505 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5871, allocations: 0 / 0.505 GB, free: 14.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.5871, allocations: 0 / 0.505 GB, free: 14.96 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00112/0.5882, allocations: 0.5231 MB / 0.5055 GB, free: 14.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5883, allocations: 8.031 kB / 0.5055 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.5884, allocations: 63.42 kB / 0.5055 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003802/0.5888, allocations: 43.61 kB / 0.5056 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.5893, allocations: 274.5 kB / 0.5058 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.5893, allocations: 20.56 kB / 0.5059 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/0.5894, allocations: 27.94 kB / 0.5059 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.5902, allocations: 311.7 kB / 0.5062 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.5902, allocations: 3.938 kB / 0.5062 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.044e-05/0.5903, allocations: 19.89 kB / 0.5062 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.5903, allocations: 7.984 kB / 0.5062 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.5909, allocations: 201.6 kB / 0.5064 GB, free: 13.35 MB / 394.7 MB 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.002798/0.5937, allocations: 1.587 MB / 0.508 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.5942, allocations: 162.8 kB / 0.5081 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.5943, allocations: 7.984 kB / 0.5081 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.5943, allocations: 46.48 kB / 0.5082 GB, free: 11.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.815e-06/0.5943, allocations: 0 / 0.5082 GB, free: 11.38 MB / 394.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.009533/0.6039, allocations: 1.618 MB / 0.5097 GB, free: 9.633 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.604, allocations: 51.41 kB / 0.5098 GB, free: 9.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.6044, allocations: 260.8 kB / 0.51 GB, free: 9.309 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/0.6045, allocations: 33.7 kB / 0.5101 GB, free: 9.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.6046, allocations: 222.8 kB / 0.5103 GB, free: 9.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.6048, allocations: 106.5 kB / 0.5104 GB, free: 8.941 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.6048, allocations: 8 kB / 0.5104 GB, free: 8.934 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.605, allocations: 322.8 kB / 0.5107 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.6052, allocations: 87.75 kB / 0.5108 GB, free: 8.523 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.6056, allocations: 187.8 kB / 0.511 GB, free: 8.297 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.606, allocations: 120.4 kB / 0.5111 GB, free: 8.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.606, allocations: 0 / 0.5111 GB, free: 8.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001068/0.6071, allocations: 379.4 kB / 0.5114 GB, free: 7.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.6071, allocations: 8 kB / 0.5114 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.6071, allocations: 7.953 kB / 0.5115 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/0.6075, allocations: 69.67 kB / 0.5115 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/0.6082, allocations: 96.23 kB / 0.5116 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.6102, allocations: 1.852 MB / 0.5134 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.6107, allocations: 20 kB / 0.5134 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/0.6108, allocations: 35.98 kB / 0.5135 GB, free: 5.551 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002797/0.6111, allocations: 165.8 kB / 0.5136 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.89e-05/0.6112, allocations: 31.66 kB / 0.5137 GB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.6128, allocations: 444.5 kB / 0.5141 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.6129, allocations: 4 kB / 0.5141 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6129, allocations: 0 / 0.5141 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008375/0.6137, allocations: 0.5591 MB / 0.5146 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.6154, allocations: 0.7324 MB / 0.5154 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6154, allocations: 7.938 kB / 0.5154 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.616, allocations: 63.95 kB / 0.5154 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.6162, allocations: 24.78 kB / 0.5154 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.6162, allocations: 15.98 kB / 0.5155 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.6175, allocations: 1.28 MB / 0.5167 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6176, allocations: 3.938 kB / 0.5167 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.6187, allocations: 0.498 MB / 0.5172 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.6189, allocations: 104.8 kB / 0.5173 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.128e-05/0.619, allocations: 8 kB / 0.5173 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.6194, allocations: 15.98 kB / 0.5173 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.6195, allocations: 31.92 kB / 0.5174 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.145e-05/0.6196, allocations: 35.98 kB / 0.5174 GB, free: 1.164 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002977/0.62, allocations: 182 kB / 0.5176 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.62, allocations: 0 / 0.5176 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008191/0.6208, allocations: 124 kB / 0.5177 GB, free: 0.8672 MB / 394.7 MB 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002064/0.6229, allocations: 1.215 MB / 0.5189 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.624, allocations: 366.4 kB / 0.5192 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.624, allocations: 0.8125 kB / 0.5192 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004673/0.6245, allocations: 242.6 kB / 0.5194 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.6261, allocations: 163.6 kB / 0.5196 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005677/0.6318, allocations: 3.856 MB / 0.5234 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.6324, allocations: 0.7721 MB / 0.5241 GB, free: 10.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006016/0.633, allocations: 131.4 kB / 0.5242 GB, free: 9.934 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.633, allocations: 0 / 0.5242 GB, free: 9.934 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.023/3.656, allocations: 8.795 MB / 0.5328 GB, free: 1.129 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat