Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",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.001255/0.001255, allocations: 172.5 kB / 14.1 MB, free: 1.223 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.462/1.462, allocations: 205.2 MB / 219.8 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.0008612/0.0008616, allocations: 90.66 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.866e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 47.58 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.834/5.938, allocations: 2.742 GB / 3.103 GB, free: 78.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/5.938, allocations: 94.89 kB / 3.103 GB, free: 78.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.299/7.238, allocations: 426.9 MB / 3.52 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.225e-06/7.238, allocations: 0 / 3.52 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.135e-05/7.238, allocations: 8 kB / 3.52 GB, free: 0.5586 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.264/7.502, allocations: 1.249 MB / 3.521 GB, free: 49.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/7.502, allocations: 10.31 kB / 3.521 GB, free: 49.19 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002271/7.502, allocations: 70.86 kB / 3.521 GB, free: 49.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/7.504, allocations: 156.7 kB / 3.522 GB, free: 49.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006581/7.504, allocations: 318.4 kB / 3.522 GB, free: 48.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-05/7.504, allocations: 34.09 kB / 3.522 GB, free: 48.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/7.505, allocations: 32.53 kB / 3.522 GB, free: 48.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/7.506, allocations: 0.5422 MB / 3.522 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/7.506, allocations: 1.5 kB / 3.522 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/7.506, allocations: 19.56 kB / 3.522 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/7.506, allocations: 9 kB / 3.522 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/7.507, allocations: 474.6 kB / 3.523 GB, free: 48.8 MB / 442.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.003057/7.51, allocations: 2.622 MB / 3.526 GB, free: 46.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/7.512, allocations: 420.4 kB / 3.526 GB, free: 46.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/7.512, allocations: 130.4 kB / 3.526 GB, free: 46.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007582/7.513, allocations: 0.5564 MB / 3.527 GB, free: 46.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/7.513, allocations: 40.98 kB / 3.527 GB, free: 46.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 1.724e-06/7.513, allocations: 0 / 3.527 GB, free: 46.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.003882/7.517, allocations: 1.252 MB / 3.528 GB, free: 46.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/7.517, allocations: 54.31 kB / 3.528 GB, free: 45.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/7.517, allocations: 224.8 kB / 3.528 GB, free: 45.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/7.517, allocations: 30.58 kB / 3.528 GB, free: 45.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/7.517, allocations: 188.6 kB / 3.528 GB, free: 45.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/7.517, allocations: 117.8 kB / 3.528 GB, free: 45.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/7.517, allocations: 8.125 kB / 3.528 GB, free: 45.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.754e-05/7.517, allocations: 337 kB / 3.529 GB, free: 45.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/7.518, allocations: 105.6 kB / 3.529 GB, free: 45.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/7.518, allocations: 201.1 kB / 3.529 GB, free: 45.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/7.518, allocations: 126.9 kB / 3.529 GB, free: 45.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/7.518, allocations: 1.281 kB / 3.529 GB, free: 45.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009166/7.519, allocations: 437.2 kB / 3.53 GB, free: 45.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/7.519, allocations: 7.156 kB / 3.53 GB, free: 45.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/7.519, allocations: 7.031 kB / 3.53 GB, free: 45.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/7.519, allocations: 81.23 kB / 3.53 GB, free: 45.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/7.52, allocations: 95.72 kB / 3.53 GB, free: 45.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/7.521, allocations: 2.376 MB / 3.532 GB, free: 42.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/7.522, allocations: 54.59 kB / 3.532 GB, free: 42.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/7.522, allocations: 19.45 kB / 3.532 GB, free: 42.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001202/7.522, allocations: 131.9 kB / 3.532 GB, free: 42.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/7.522, allocations: 31.05 kB / 3.532 GB, free: 42.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/7.524, allocations: 1.345 MB / 3.534 GB, free: 42.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/7.524, allocations: 20.55 kB / 3.534 GB, free: 42.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/7.524, allocations: 0 / 3.534 GB, free: 42.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/7.525, allocations: 1.428 MB / 3.535 GB, free: 42.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/7.528, allocations: 2.099 MB / 3.537 GB, free: 41.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/7.528, allocations: 3.938 kB / 3.537 GB, free: 41.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/7.528, allocations: 103.9 kB / 3.537 GB, free: 41.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003617/7.529, allocations: 70.88 kB / 3.537 GB, free: 41.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/7.529, allocations: 13.81 kB / 3.537 GB, free: 41.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000449/7.529, allocations: 0.5973 MB / 3.538 GB, free: 41.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/7.529, allocations: 3.953 kB / 3.538 GB, free: 41.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/7.531, allocations: 1.168 MB / 3.539 GB, free: 40.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/7.531, allocations: 162 kB / 3.539 GB, free: 40.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/7.531, allocations: 6.734 kB / 3.539 GB, free: 40.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/7.532, allocations: 50.81 kB / 3.539 GB, free: 40.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/7.532, allocations: 44.17 kB / 3.539 GB, free: 40.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/7.532, allocations: 9.688 kB / 3.539 GB, free: 40.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002151/7.532, allocations: 231.8 kB / 3.539 GB, free: 40.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/7.532, allocations: 3.719 kB / 3.539 GB, free: 40.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004449/7.536, allocations: 0.8939 MB / 3.54 GB, free: 40.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009221/7.546, allocations: 2.936 MB / 3.543 GB, free: 39.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/7.547, allocations: 0.5889 MB / 3.544 GB, free: 39.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/7.547, allocations: 1.406 kB / 3.544 GB, free: 39.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004948/7.547, allocations: 370.2 kB / 3.544 GB, free: 39.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/7.549, allocations: 188.9 kB / 3.544 GB, free: 39.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/7.553, allocations: 1.334 MB / 3.546 GB, free: 39.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/7.553, allocations: 0.8854 MB / 3.547 GB, free: 38.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004707/7.553, allocations: 145.7 kB / 3.547 GB, free: 38.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/7.554, allocations: 193.8 kB / 3.547 GB, free: 38.76 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/7.554, allocations: 0 / 3.547 GB, free: 38.76 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0683/7.622, allocations: 39.24 MB / 3.585 GB, free: 37.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/7.622, allocations: 198 kB / 3.585 GB, free: 37.47 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.993/10.61, allocations: 3.906 kB / 3.585 GB, free: 37.47 MB / 442.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat