Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001311/0.001311, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.3 MB / 214.4 MB, free: 1.668 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.0009522/0.0009525, allocations: 91.61 kB / 262.5 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.882e-05, allocations: 0 / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 47.58 MB / 363.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.356, allocations: 438.3 MB / 0.7827 GB, free: 89.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/1.356, allocations: 95.94 kB / 0.7828 GB, free: 89.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5632/1.919, allocations: 152.1 MB / 0.9313 GB, free: 107.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.919, allocations: 0 / 0.9313 GB, free: 107.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.203e-05/1.919, allocations: 7.438 kB / 0.9313 GB, free: 107.4 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.001224/1.921, allocations: 0.5895 MB / 0.9319 GB, free: 106.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/1.921, allocations: 11.31 kB / 0.9319 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/1.921, allocations: 46.97 kB / 0.932 GB, free: 106.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/1.921, allocations: 282.7 kB / 0.9322 GB, free: 106.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/1.921, allocations: 7.688 kB / 0.9322 GB, free: 106.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/1.921, allocations: 19.06 kB / 0.9322 GB, free: 106.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003549/1.922, allocations: 177.8 kB / 0.9324 GB, free: 106.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/1.922, allocations: 272.4 kB / 0.9327 GB, free: 106.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/1.922, allocations: 0 / 0.9327 GB, free: 106.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/1.922, allocations: 3.031 kB / 0.9327 GB, free: 106.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/1.922, allocations: 11.23 kB / 0.9327 GB, free: 106.3 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.00165/1.924, allocations: 1.553 MB / 0.9342 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/1.924, allocations: 139.2 kB / 0.9343 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/1.924, allocations: 73.55 kB / 0.9344 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/1.924, allocations: 11.45 kB / 0.9344 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/1.924, allocations: 30.56 kB / 0.9345 GB, free: 104.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/1.924, allocations: 0 / 0.9345 GB, free: 104.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.00378/1.928, allocations: 0.9995 MB / 0.9354 GB, free: 103.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/1.928, allocations: 55.41 kB / 0.9355 GB, free: 103.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/1.928, allocations: 200 kB / 0.9357 GB, free: 103.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/1.929, allocations: 29.7 kB / 0.9357 GB, free: 103.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/1.929, allocations: 183.7 kB / 0.9359 GB, free: 103.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/1.929, allocations: 90.53 kB / 0.936 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/1.929, allocations: 0 / 0.936 GB, free: 103.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.069e-05/1.929, allocations: 334.8 kB / 0.9363 GB, free: 103 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/1.929, allocations: 76 kB / 0.9364 GB, free: 102.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/1.929, allocations: 178.3 kB / 0.9365 GB, free: 102.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/1.929, allocations: 105.6 kB / 0.9366 GB, free: 102.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/1.929, allocations: 0 / 0.9366 GB, free: 102.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00048/1.93, allocations: 357.5 kB / 0.937 GB, free: 102.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.93, allocations: 8 kB / 0.937 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/1.93, allocations: 4 kB / 0.937 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/1.93, allocations: 72.69 kB / 0.937 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/1.93, allocations: 79.89 kB / 0.9371 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009761/1.931, allocations: 1.812 MB / 0.9389 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/1.931, allocations: 23.75 kB / 0.9389 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/1.932, allocations: 40 kB / 0.939 GB, free: 100.1 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.0001188/1.932, allocations: 108.9 kB / 0.9391 GB, free: 99.97 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003634/1.932, allocations: 262 kB / 0.9393 GB, free: 99.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/1.932, allocations: 27.67 kB / 0.9393 GB, free: 99.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006311/1.933, allocations: 348.8 kB / 0.9397 GB, free: 99.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/1.933, allocations: 7.625 kB / 0.9397 GB, free: 99.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/1.933, allocations: 0 / 0.9397 GB, free: 99.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003523/1.933, allocations: 0.5437 MB / 0.9402 GB, free: 98.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000757/1.934, allocations: 0.652 MB / 0.9408 GB, free: 98.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.934, allocations: 0 / 0.9408 GB, free: 98.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/1.934, allocations: 76.61 kB / 0.9409 GB, free: 97.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.294e-05/1.934, allocations: 28.8 kB / 0.9409 GB, free: 97.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/1.934, allocations: 11.98 kB / 0.9409 GB, free: 97.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005641/1.935, allocations: 1.233 MB / 0.9422 GB, free: 96.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.935, allocations: 0 / 0.9422 GB, free: 96.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/1.935, allocations: 469.2 kB / 0.9426 GB, free: 96.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/1.935, allocations: 100.8 kB / 0.9427 GB, free: 95.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/1.935, allocations: 4 kB / 0.9427 GB, free: 95.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/1.936, allocations: 7.984 kB / 0.9427 GB, free: 95.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/1.936, allocations: 27.97 kB / 0.9427 GB, free: 95.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/1.936, allocations: 31.98 kB / 0.9428 GB, free: 95.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001177/1.936, allocations: 164.5 kB / 0.9429 GB, free: 95.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.936, allocations: 0 / 0.9429 GB, free: 95.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006711/1.937, allocations: 155.9 kB / 0.9431 GB, free: 95.55 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.001715/1.938, allocations: 1.939 MB / 0.945 GB, free: 93.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005268/1.939, allocations: 350.4 kB / 0.9453 GB, free: 93.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.939, allocations: 0 / 0.9453 GB, free: 93.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/1.939, allocations: 217.8 kB / 0.9455 GB, free: 93.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/1.94, allocations: 120.2 kB / 0.9456 GB, free: 93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/1.941, allocations: 0.5515 MB / 0.9462 GB, free: 92.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/1.941, allocations: 0.7718 MB / 0.9469 GB, free: 91.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004971/1.942, allocations: 119.2 kB / 0.947 GB, free: 91.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/1.942, allocations: 119.4 kB / 0.9471 GB, free: 91.37 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/1.942, allocations: 0 / 0.9471 GB, free: 91.37 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9838/2.926, allocations: 15.06 MB / 0.9619 GB, free: 76.29 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/2.926, allocations: 156.2 kB / 0.962 GB, free: 76.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.521/6.447, allocations: 0 / 0.962 GB, free: 76.09 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat