Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.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.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",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.001057/0.001057, allocations: 173 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.434/1.434, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007103/0.0007103, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.431e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07985/0.07989, allocations: 47.57 MB / 370.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.119/8.199, allocations: 3.642 GB / 4.004 GB, free: 108.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/8.199, allocations: 72.92 kB / 4.004 GB, free: 108.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09903/8.298, allocations: 48.68 MB / 4.051 GB, free: 63.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/8.298, allocations: 4 kB / 4.051 GB, free: 63.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.661e-05/8.298, allocations: 4 kB / 4.051 GB, free: 63.84 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001544/8.3, allocations: 0.6314 MB / 4.052 GB, free: 63.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/8.3, allocations: 12.03 kB / 4.052 GB, free: 63.15 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/8.3, allocations: 54.48 kB / 4.052 GB, free: 63.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/8.3, allocations: 19.81 kB / 4.052 GB, free: 63.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/8.3, allocations: 202.9 kB / 4.052 GB, free: 62.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/8.3, allocations: 12.33 kB / 4.052 GB, free: 62.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/8.3, allocations: 15.95 kB / 4.052 GB, free: 62.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/8.3, allocations: 249.4 kB / 4.052 GB, free: 62.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/8.3, allocations: 0 / 4.052 GB, free: 62.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/8.3, allocations: 12 kB / 4.052 GB, free: 62.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/8.3, allocations: 4 kB / 4.052 GB, free: 62.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/8.301, allocations: 227.9 kB / 4.053 GB, free: 62.31 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.001098/8.302, allocations: 0.6794 MB / 4.053 GB, free: 61.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/8.302, allocations: 197.2 kB / 4.054 GB, free: 61.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/8.302, allocations: 117.7 kB / 4.054 GB, free: 61.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/8.303, allocations: 364.4 kB / 4.054 GB, free: 60.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/8.303, allocations: 34.98 kB / 4.054 GB, free: 60.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/8.303, allocations: 0 / 4.054 GB, free: 60.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.001317/8.304, allocations: 0.504 MB / 4.055 GB, free: 60.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/8.304, allocations: 81.3 kB / 4.055 GB, free: 60.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.492e-05/8.304, allocations: 121 kB / 4.055 GB, free: 60.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/8.304, allocations: 33.7 kB / 4.055 GB, free: 59.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/8.304, allocations: 108.6 kB / 4.055 GB, free: 59.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/8.304, allocations: 122.2 kB / 4.055 GB, free: 59.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/8.304, allocations: 4 kB / 4.055 GB, free: 59.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.807e-05/8.304, allocations: 330.8 kB / 4.055 GB, free: 59.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/8.305, allocations: 108 kB / 4.055 GB, free: 59.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/8.305, allocations: 183.7 kB / 4.056 GB, free: 59.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/8.305, allocations: 133.9 kB / 4.056 GB, free: 58.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/8.305, allocations: 4 kB / 4.056 GB, free: 58.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004646/8.305, allocations: 365.3 kB / 4.056 GB, free: 58.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/8.305, allocations: 4 kB / 4.056 GB, free: 58.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/8.305, allocations: 4 kB / 4.056 GB, free: 58.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/8.306, allocations: 4 kB / 4.056 GB, free: 58.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/8.306, allocations: 88.09 kB / 4.056 GB, free: 58.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/8.306, allocations: 7.938 kB / 4.056 GB, free: 58.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/8.306, allocations: 31.83 kB / 4.056 GB, free: 58.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/8.306, allocations: 15.98 kB / 4.056 GB, free: 58.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.793e-05/8.306, allocations: 120.9 kB / 4.056 GB, free: 58.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/8.306, allocations: 19.77 kB / 4.056 GB, free: 58.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/8.307, allocations: 187.7 kB / 4.056 GB, free: 58.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/8.307, allocations: 4 kB / 4.056 GB, free: 58.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/8.307, allocations: 0 / 4.056 GB, free: 58.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/8.307, allocations: 3.984 kB / 4.056 GB, free: 58.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009595/8.308, allocations: 0.7089 MB / 4.057 GB, free: 57.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/8.308, allocations: 4 kB / 4.057 GB, free: 57.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/8.308, allocations: 79.89 kB / 4.057 GB, free: 57.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/8.308, allocations: 4 kB / 4.057 GB, free: 57.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/8.308, allocations: 11.98 kB / 4.057 GB, free: 57.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/8.308, allocations: 7.953 kB / 4.057 GB, free: 57.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/8.308, allocations: 3.938 kB / 4.057 GB, free: 57.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006475/8.309, allocations: 0.6948 MB / 4.058 GB, free: 56.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/8.309, allocations: 116.9 kB / 4.058 GB, free: 56.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/8.309, allocations: 8 kB / 4.058 GB, free: 56.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/8.309, allocations: 27.92 kB / 4.058 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/8.309, allocations: 31.97 kB / 4.058 GB, free: 56.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/8.309, allocations: 12 kB / 4.058 GB, free: 56.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.837e-05/8.309, allocations: 103.5 kB / 4.058 GB, free: 56.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/8.31, allocations: 0 / 4.058 GB, free: 56.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006759/8.31, allocations: 187.8 kB / 4.058 GB, free: 55.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/8.312, allocations: 2.203 MB / 4.061 GB, free: 53.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004363/8.312, allocations: 307.4 kB / 4.061 GB, free: 53.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/8.312, allocations: 4 kB / 4.061 GB, free: 53.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/8.312, allocations: 147.8 kB / 4.061 GB, free: 53.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/8.313, allocations: 86.91 kB / 4.061 GB, free: 53.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/8.314, allocations: 0.5676 MB / 4.062 GB, free: 52.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/8.314, allocations: 0.7374 MB / 4.062 GB, free: 51.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003539/8.315, allocations: 74.03 kB / 4.062 GB, free: 51.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/8.315, allocations: 63.41 kB / 4.063 GB, free: 51.64 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/8.315, allocations: 0 / 4.063 GB, free: 51.64 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/8.341, allocations: 17.61 MB / 4.08 GB, free: 34.01 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/8.342, allocations: 137.2 kB / 4.08 GB, free: 33.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/10.54, allocations: 4 kB / 4.08 GB, free: 33.78 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat