Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001096, allocations: 181.2 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 92.31 kB / 291.5 MB, free: 10.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 11.94 kB / 351.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.265, allocations: 50.41 MB / 401.6 MB, free: 32.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.78/13.05, allocations: 6.205 GB / 6.597 GB, free: 66.68 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/13.05, allocations: 80.83 kB / 6.597 GB, free: 66.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7578/13.81, allocations: 202.3 MB / 6.795 GB, free: 50.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.623e-06/13.81, allocations: 0 / 6.795 GB, free: 50.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/13.81, allocations: 4 kB / 6.795 GB, free: 50.81 MB / 458.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.006754/13.81, allocations: 1.461 MB / 6.796 GB, free: 49.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/13.81, allocations: 8.031 kB / 6.796 GB, free: 49.29 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.384e-05/13.81, allocations: 50.55 kB / 6.796 GB, free: 49.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/13.81, allocations: 27.75 kB / 6.796 GB, free: 49.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/13.81, allocations: 218.8 kB / 6.797 GB, free: 48.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/13.81, allocations: 12.33 kB / 6.797 GB, free: 48.94 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/13.81, allocations: 16 kB / 6.797 GB, free: 48.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/13.81, allocations: 281.4 kB / 6.797 GB, free: 48.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/13.81, allocations: 0 / 6.797 GB, free: 48.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/13.81, allocations: 8 kB / 6.797 GB, free: 48.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/13.81, allocations: 15.98 kB / 6.797 GB, free: 48.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006569/13.81, allocations: 299.7 kB / 6.797 GB, free: 48.32 MB / 458.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.001206/13.82, allocations: 0.7382 MB / 6.798 GB, free: 47.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006057/13.82, allocations: 245.1 kB / 6.798 GB, free: 47.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01102/13.83, allocations: 12.44 MB / 6.81 GB, free: 32.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/13.83, allocations: 38.56 kB / 6.81 GB, free: 32.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 3.978e-06/13.83, allocations: 3.984 kB / 6.81 GB, free: 32.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.002727/13.83, allocations: 0.6888 MB / 6.811 GB, free: 31.56 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/13.83, allocations: 81.3 kB / 6.811 GB, free: 31.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/13.83, allocations: 113 kB / 6.811 GB, free: 31.35 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/13.83, allocations: 37.7 kB / 6.811 GB, free: 31.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/13.83, allocations: 108.8 kB / 6.811 GB, free: 31.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.177e-05/13.83, allocations: 130.2 kB / 6.811 GB, free: 31.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/13.83, allocations: 4 kB / 6.811 GB, free: 31.06 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.272e-05/13.83, allocations: 330.8 kB / 6.812 GB, free: 30.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/13.83, allocations: 135.8 kB / 6.812 GB, free: 30.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/13.83, allocations: 211.7 kB / 6.812 GB, free: 30.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/13.83, allocations: 154.6 kB / 6.812 GB, free: 30.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/13.83, allocations: 0 / 6.812 GB, free: 30.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000992/13.83, allocations: 419.3 kB / 6.813 GB, free: 29.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/13.83, allocations: 7.938 kB / 6.813 GB, free: 29.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/13.83, allocations: 4 kB / 6.813 GB, free: 29.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/13.83, allocations: 4.219 kB / 6.813 GB, free: 29.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/13.83, allocations: 99.8 kB / 6.813 GB, free: 29.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/13.83, allocations: 4 kB / 6.813 GB, free: 29.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/13.83, allocations: 27.83 kB / 6.813 GB, free: 29.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/13.83, allocations: 23.98 kB / 6.813 GB, free: 29.63 MB / 458.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 () * Number of clocked 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 0.0001464/13.83, allocations: 145.7 kB / 6.813 GB, free: 29.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/13.83, allocations: 19.81 kB / 6.813 GB, free: 29.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005054/13.83, allocations: 205.6 kB / 6.813 GB, free: 29.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/13.83, allocations: 4 kB / 6.813 GB, free: 29.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/13.83, allocations: 0 / 6.813 GB, free: 29.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/13.83, allocations: 3.984 kB / 6.813 GB, free: 29.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/13.84, allocations: 0.7628 MB / 6.814 GB, free: 28.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/13.84, allocations: 7.953 kB / 6.814 GB, free: 28.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/13.84, allocations: 88.03 kB / 6.814 GB, free: 28.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/13.84, allocations: 3.938 kB / 6.814 GB, free: 28.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/13.84, allocations: 15.98 kB / 6.814 GB, free: 28.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/13.84, allocations: 4 kB / 6.814 GB, free: 28.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/13.84, allocations: 0 / 6.814 GB, free: 28.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/13.84, allocations: 0.7873 MB / 6.815 GB, free: 27.44 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/13.84, allocations: 124.8 kB / 6.815 GB, free: 27.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/13.84, allocations: 12.06 kB / 6.815 GB, free: 27.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/13.84, allocations: 31.81 kB / 6.815 GB, free: 27.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/13.84, allocations: 23.97 kB / 6.815 GB, free: 27.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/13.84, allocations: 19.98 kB / 6.815 GB, free: 27.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.353e-05/13.84, allocations: 95.27 kB / 6.815 GB, free: 27.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/13.84, allocations: 3.938 kB / 6.815 GB, free: 27.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006396/13.84, allocations: 1.116 MB / 6.816 GB, free: 26 MB / 458.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 () * Number of clocked 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.01175/13.86, allocations: 3.245 MB / 6.819 GB, free: 22.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/13.86, allocations: 343.6 kB / 6.82 GB, free: 22.37 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/13.86, allocations: 448 / 6.82 GB, free: 22.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004245/13.86, allocations: 186.3 kB / 6.82 GB, free: 22.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/13.86, allocations: 92.16 kB / 6.82 GB, free: 22.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02765/13.89, allocations: 15.14 MB / 6.835 GB, free: 6.578 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/13.89, allocations: 0.7489 MB / 6.835 GB, free: 5.805 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004398/13.89, allocations: 85.81 kB / 6.836 GB, free: 5.719 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/13.89, allocations: 67.41 kB / 6.836 GB, free: 5.652 MB / 458.7 MB Notification: Performance of SimCode: time 9.62e-07/13.89, allocations: 0 / 6.836 GB, free: 5.652 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3237/14.21, allocations: 34.94 MB / 6.87 GB, free: 71.29 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/14.21, allocations: 218.8 kB / 6.87 GB, free: 71.05 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.173/17.38, allocations: 2.562 kB / 6.87 GB, free: 71.05 MB / 458.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat