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.001527/0.001527, allocations: 180.7 kB / 17.01 MB, free: 5.125 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.546/1.546, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.0009715/0.0009714, allocations: 84.75 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 8 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2898, allocations: 47.57 MB / 375.9 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7805/1.07, allocations: 438.9 MB / 0.7957 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.071, allocations: 99.8 kB / 0.7958 GB, free: 9.848 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5037/1.574, allocations: 154.1 MB / 0.9463 GB, free: 31.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/1.575, allocations: 3.938 kB / 0.9463 GB, free: 31.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/1.575, allocations: 8 kB / 0.9463 GB, free: 31.44 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.001084/1.576, allocations: 0.6126 MB / 0.9469 GB, free: 30.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.576, allocations: 12.02 kB / 0.9469 GB, free: 30.77 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.947e-05/1.576, allocations: 62.55 kB / 0.947 GB, free: 30.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/1.576, allocations: 47.61 kB / 0.947 GB, free: 30.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/1.576, allocations: 290.7 kB / 0.9473 GB, free: 30.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/1.576, allocations: 16.56 kB / 0.9473 GB, free: 30.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/1.576, allocations: 24 kB / 0.9473 GB, free: 30.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/1.577, allocations: 311.7 kB / 0.9476 GB, free: 29.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/1.577, allocations: 0 / 0.9476 GB, free: 29.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/1.577, allocations: 16 kB / 0.9476 GB, free: 29.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/1.577, allocations: 8 kB / 0.9476 GB, free: 29.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/1.577, allocations: 205.5 kB / 0.9478 GB, free: 29.74 MB / 426.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.001394/1.579, allocations: 1.574 MB / 0.9494 GB, free: 28.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/1.579, allocations: 167.1 kB / 0.9495 GB, free: 27.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/1.579, allocations: 4.188 kB / 0.9495 GB, free: 27.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/1.579, allocations: 46.67 kB / 0.9496 GB, free: 27.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/1.579, allocations: 0 / 0.9496 GB, free: 27.78 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.005056/1.584, allocations: 1.619 MB / 0.9512 GB, free: 26.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/1.584, allocations: 55.39 kB / 0.9512 GB, free: 25.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/1.584, allocations: 224.2 kB / 0.9514 GB, free: 25.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/1.584, allocations: 37.7 kB / 0.9515 GB, free: 25.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/1.584, allocations: 168.2 kB / 0.9516 GB, free: 25.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/1.584, allocations: 102.6 kB / 0.9517 GB, free: 25.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/1.584, allocations: 8 kB / 0.9517 GB, free: 25.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/1.585, allocations: 342.8 kB / 0.9521 GB, free: 25.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/1.585, allocations: 83.97 kB / 0.9521 GB, free: 24.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/1.585, allocations: 187.7 kB / 0.9523 GB, free: 24.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/1.585, allocations: 116.5 kB / 0.9524 GB, free: 24.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.585, allocations: 0 / 0.9524 GB, free: 24.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005213/1.586, allocations: 391.1 kB / 0.9528 GB, free: 24.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/1.586, allocations: 12.06 kB / 0.9528 GB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.586, allocations: 4 kB / 0.9528 GB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002123/1.586, allocations: 69.67 kB / 0.9529 GB, free: 24.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/1.586, allocations: 91.83 kB / 0.953 GB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/1.587, allocations: 1.856 MB / 0.9548 GB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/1.587, allocations: 20.3 kB / 0.9548 GB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/1.588, allocations: 44 kB / 0.9548 GB, free: 22 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 () * 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.0001578/1.588, allocations: 163.9 kB / 0.955 GB, free: 21.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/1.588, allocations: 31.7 kB / 0.955 GB, free: 21.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000823/1.589, allocations: 432.7 kB / 0.9554 GB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/1.589, allocations: 7.938 kB / 0.9555 GB, free: 21.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/1.589, allocations: 0 / 0.9555 GB, free: 21.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003831/1.589, allocations: 0.5608 MB / 0.956 GB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008001/1.59, allocations: 0.7173 MB / 0.9567 GB, free: 19.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.59, allocations: 0 / 0.9567 GB, free: 19.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/1.59, allocations: 71.95 kB / 0.9568 GB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.371e-05/1.59, allocations: 20.78 kB / 0.9568 GB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/1.59, allocations: 23.98 kB / 0.9568 GB, free: 19.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005629/1.591, allocations: 1.288 MB / 0.9581 GB, free: 18.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.591, allocations: 256 / 0.9581 GB, free: 18.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/1.591, allocations: 0.49 MB / 0.9585 GB, free: 17.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/1.591, allocations: 100.8 kB / 0.9586 GB, free: 17.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/1.591, allocations: 8 kB / 0.9587 GB, free: 17.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/1.592, allocations: 27.92 kB / 0.9587 GB, free: 17.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/1.592, allocations: 23.97 kB / 0.9587 GB, free: 17.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/1.592, allocations: 27.98 kB / 0.9587 GB, free: 17.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001422/1.592, allocations: 190 kB / 0.9589 GB, free: 17.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.592, allocations: 3.938 kB / 0.9589 GB, free: 17.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007474/1.593, allocations: 192 kB / 0.9591 GB, free: 17.27 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 () * 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.001707/1.594, allocations: 1.843 MB / 0.9609 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005652/1.595, allocations: 374.3 kB / 0.9613 GB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.595, allocations: 0.8125 kB / 0.9613 GB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/1.595, allocations: 234.5 kB / 0.9615 GB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007645/1.596, allocations: 164.2 kB / 0.9616 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/1.599, allocations: 3.836 MB / 0.9654 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/1.599, allocations: 0.7726 MB / 0.9661 GB, free: 9.859 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005791/1.6, allocations: 122.8 kB / 0.9663 GB, free: 9.738 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/1.6, allocations: 127.4 kB / 0.9664 GB, free: 9.613 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/1.6, allocations: 0 / 0.9664 GB, free: 9.613 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2608/1.861, allocations: 22.8 MB / 0.9886 GB, free: 98.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/1.861, allocations: 227.7 kB / 0.9889 GB, free: 98.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/4.441, allocations: 0 / 0.9889 GB, free: 98.47 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