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.002173/0.002172, allocations: 182.3 kB / 13.66 MB, free: 1.664 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.12/2.12, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001104/0.001103, allocations: 86.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.982e-05, allocations: 3.984 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 47.58 MB / 369.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.437/1.548, allocations: 438.8 MB / 0.789 GB, free: 68.08 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003462/1.549, allocations: 96.36 kB / 0.7891 GB, free: 68.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.768/2.317, allocations: 153.7 MB / 0.9392 GB, free: 87.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/2.317, allocations: 0 / 0.9392 GB, free: 87.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.412e-05/2.317, allocations: 12 kB / 0.9392 GB, free: 87.62 MB / 426.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.001148/2.318, allocations: 0.5852 MB / 0.9398 GB, free: 86.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/2.318, allocations: 8.031 kB / 0.9398 GB, free: 86.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.473e-05/2.318, allocations: 62.53 kB / 0.9398 GB, free: 86.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/2.318, allocations: 47.61 kB / 0.9399 GB, free: 86.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/2.319, allocations: 270.6 kB / 0.9402 GB, free: 86.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/2.319, allocations: 20.52 kB / 0.9402 GB, free: 86.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/2.319, allocations: 27.98 kB / 0.9402 GB, free: 86.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/2.32, allocations: 311.7 kB / 0.9405 GB, free: 86.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/2.32, allocations: 4 kB / 0.9405 GB, free: 86.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/2.32, allocations: 12 kB / 0.9405 GB, free: 86.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/2.32, allocations: 11.98 kB / 0.9405 GB, free: 86.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/2.32, allocations: 201.6 kB / 0.9407 GB, free: 85.96 MB / 426.7 MB 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.002111/2.322, allocations: 1.57 MB / 0.9422 GB, free: 84.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/2.323, allocations: 171.1 kB / 0.9424 GB, free: 84.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/2.323, allocations: 93.22 kB / 0.9425 GB, free: 83.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.041e-05/2.323, allocations: 8.172 kB / 0.9425 GB, free: 83.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/2.323, allocations: 38.7 kB / 0.9425 GB, free: 83.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.935e-06/2.323, allocations: 4 kB / 0.9425 GB, free: 83.9 MB / 426.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.008146/2.331, allocations: 1.244 MB / 0.9438 GB, free: 82.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/2.331, allocations: 55.39 kB / 0.9438 GB, free: 82.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/2.332, allocations: 225.1 kB / 0.944 GB, free: 82.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/2.332, allocations: 29.7 kB / 0.9441 GB, free: 82.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/2.332, allocations: 234.4 kB / 0.9443 GB, free: 82.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/2.332, allocations: 102.6 kB / 0.9444 GB, free: 81.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/2.332, allocations: 8 kB / 0.9444 GB, free: 81.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.823e-05/2.332, allocations: 330.7 kB / 0.9447 GB, free: 81.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/2.332, allocations: 80 kB / 0.9448 GB, free: 81.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/2.332, allocations: 187.8 kB / 0.945 GB, free: 81.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/2.333, allocations: 120.4 kB / 0.9451 GB, free: 81.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/2.333, allocations: 0 / 0.9451 GB, free: 81.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009101/2.334, allocations: 378.9 kB / 0.9454 GB, free: 80.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/2.334, allocations: 8 kB / 0.9454 GB, free: 80.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/2.334, allocations: 3.984 kB / 0.9454 GB, free: 80.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003264/2.334, allocations: 69.69 kB / 0.9455 GB, free: 80.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/2.335, allocations: 87.89 kB / 0.9456 GB, free: 80.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/2.336, allocations: 1.852 MB / 0.9474 GB, free: 78.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/2.337, allocations: 27.98 kB / 0.9474 GB, free: 78.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-05/2.337, allocations: 39.98 kB / 0.9475 GB, free: 78.53 MB / 426.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 () * 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.0001505/2.337, allocations: 125.1 kB / 0.9476 GB, free: 78.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/2.337, allocations: 35.61 kB / 0.9476 GB, free: 78.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/2.338, allocations: 439.7 kB / 0.948 GB, free: 77.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/2.338, allocations: 0 / 0.948 GB, free: 77.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/2.338, allocations: 0 / 0.948 GB, free: 77.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006183/2.339, allocations: 0.5629 MB / 0.9486 GB, free: 77.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/2.34, allocations: 0.7172 MB / 0.9493 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/2.34, allocations: 0 / 0.9493 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/2.341, allocations: 71.89 kB / 0.9494 GB, free: 76.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/2.341, allocations: 28.86 kB / 0.9494 GB, free: 76.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/2.341, allocations: 15.98 kB / 0.9494 GB, free: 76.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008337/2.342, allocations: 1.276 MB / 0.9507 GB, free: 74.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/2.342, allocations: 0 / 0.9507 GB, free: 74.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009519/2.343, allocations: 0.4939 MB / 0.9511 GB, free: 74.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/2.343, allocations: 104.7 kB / 0.9512 GB, free: 74.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/2.343, allocations: 4 kB / 0.9512 GB, free: 74.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/2.344, allocations: 19.92 kB / 0.9513 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/2.344, allocations: 31.91 kB / 0.9513 GB, free: 74.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/2.344, allocations: 31.94 kB / 0.9513 GB, free: 74.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002512/2.344, allocations: 183.1 kB / 0.9515 GB, free: 74.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/2.344, allocations: 4.062 kB / 0.9515 GB, free: 74.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009977/2.345, allocations: 188 kB / 0.9517 GB, free: 73.85 MB / 426.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 () * 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.00256/2.348, allocations: 1.829 MB / 0.9535 GB, free: 71.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009094/2.349, allocations: 367.1 kB / 0.9538 GB, free: 71.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/2.349, allocations: 0 / 0.9538 GB, free: 71.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003545/2.349, allocations: 230.5 kB / 0.954 GB, free: 71.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/2.35, allocations: 160.3 kB / 0.9542 GB, free: 71.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/2.352, allocations: 0.6027 MB / 0.9548 GB, free: 70.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/2.352, allocations: 0.7726 MB / 0.9555 GB, free: 69.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005029/2.353, allocations: 139.4 kB / 0.9557 GB, free: 69.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.814e-06/2.353, allocations: 0 / 0.9557 GB, free: 69.63 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3/5.353, allocations: 12.8 MB / 0.9682 GB, free: 56.82 MB / 426.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