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.001037/0.001037, allocations: 181.8 kB / 17.02 MB, free: 5.121 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.47/1.47, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008324/0.0008322, allocations: 100.1 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002809/0.0002809, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2558, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.713/7.969, allocations: 3.642 GB / 4.009 GB, free: 112.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/7.97, allocations: 78.58 kB / 4.009 GB, free: 112.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1171/8.087, allocations: 48.78 MB / 4.057 GB, free: 97.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/8.087, allocations: 0 / 4.057 GB, free: 97.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/8.087, allocations: 8 kB / 4.057 GB, free: 97.72 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.002004/8.089, allocations: 0.6369 MB / 4.058 GB, free: 97.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/8.089, allocations: 8.031 kB / 4.058 GB, free: 97.04 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.421e-05/8.089, allocations: 53.55 kB / 4.058 GB, free: 96.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/8.089, allocations: 23.12 kB / 4.058 GB, free: 96.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/8.089, allocations: 206.2 kB / 4.058 GB, free: 96.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/8.089, allocations: 12.27 kB / 4.058 GB, free: 96.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/8.089, allocations: 23.56 kB / 4.058 GB, free: 96.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/8.09, allocations: 258.9 kB / 4.058 GB, free: 96.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/8.09, allocations: 3.906 kB / 4.058 GB, free: 96.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/8.09, allocations: 15.36 kB / 4.058 GB, free: 96.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/8.09, allocations: 4 kB / 4.058 GB, free: 96.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/8.091, allocations: 260.8 kB / 4.059 GB, free: 96.29 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.001384/8.092, allocations: 0.6762 MB / 4.059 GB, free: 95.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/8.093, allocations: 222.3 kB / 4.059 GB, free: 95.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/8.093, allocations: 356.1 kB / 4.06 GB, free: 95.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/8.093, allocations: 38.12 kB / 4.06 GB, free: 95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 6.543e-06/8.093, allocations: 0 / 4.06 GB, free: 95 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002419/8.095, allocations: 0.685 MB / 4.06 GB, free: 94.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/8.095, allocations: 81.3 kB / 4.061 GB, free: 94.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.072e-05/8.095, allocations: 113 kB / 4.061 GB, free: 94.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/8.095, allocations: 34.02 kB / 4.061 GB, free: 94.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/8.096, allocations: 105 kB / 4.061 GB, free: 94.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/8.096, allocations: 133.9 kB / 4.061 GB, free: 94.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/8.096, allocations: 3.5 kB / 4.061 GB, free: 94.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.101e-05/8.096, allocations: 326 kB / 4.061 GB, free: 93.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/8.096, allocations: 133.5 kB / 4.061 GB, free: 93.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/8.096, allocations: 206.4 kB / 4.062 GB, free: 93.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/8.097, allocations: 158.4 kB / 4.062 GB, free: 93.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/8.097, allocations: 0 / 4.062 GB, free: 93.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009167/8.098, allocations: 415 kB / 4.062 GB, free: 93.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/8.098, allocations: 6.188 kB / 4.062 GB, free: 93.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/8.098, allocations: 4 kB / 4.062 GB, free: 93.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/8.098, allocations: 4.375 kB / 4.062 GB, free: 93.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/8.098, allocations: 87.78 kB / 4.062 GB, free: 92.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/8.098, allocations: 11.94 kB / 4.062 GB, free: 92.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/8.099, allocations: 34.25 kB / 4.062 GB, free: 92.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/8.099, allocations: 23.86 kB / 4.062 GB, free: 92.87 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 () * 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.0001247/8.099, allocations: 136.5 kB / 4.062 GB, free: 92.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/8.099, allocations: 19.86 kB / 4.062 GB, free: 92.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/8.099, allocations: 177.3 kB / 4.063 GB, free: 92.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/8.099, allocations: 8 kB / 4.063 GB, free: 92.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/8.099, allocations: 4 kB / 4.063 GB, free: 92.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/8.099, allocations: 0 / 4.063 GB, free: 92.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/8.101, allocations: 0.7447 MB / 4.063 GB, free: 91.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/8.101, allocations: 4 kB / 4.063 GB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/8.101, allocations: 78.41 kB / 4.063 GB, free: 91.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/8.101, allocations: 8 kB / 4.063 GB, free: 91.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/8.101, allocations: 9.312 kB / 4.063 GB, free: 91.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/8.101, allocations: 7.984 kB / 4.063 GB, free: 91.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/8.101, allocations: 11.88 kB / 4.063 GB, free: 91.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/8.103, allocations: 0.7696 MB / 4.064 GB, free: 91.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/8.103, allocations: 119.5 kB / 4.064 GB, free: 90.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/8.103, allocations: 9 kB / 4.064 GB, free: 90.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/8.103, allocations: 32.86 kB / 4.064 GB, free: 90.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/8.103, allocations: 26.34 kB / 4.064 GB, free: 90.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/8.103, allocations: 12.88 kB / 4.064 GB, free: 90.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.396e-05/8.103, allocations: 93.7 kB / 4.064 GB, free: 90.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/8.103, allocations: 0 / 4.064 GB, free: 90.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009181/8.104, allocations: 183.5 kB / 4.065 GB, free: 90.66 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 () * 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.00242/8.107, allocations: 2.273 MB / 4.067 GB, free: 88.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007648/8.107, allocations: 345.7 kB / 4.067 GB, free: 88.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/8.107, allocations: 448 / 4.067 GB, free: 88.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/8.108, allocations: 172.7 kB / 4.067 GB, free: 88.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000594/8.108, allocations: 89.38 kB / 4.067 GB, free: 88.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/8.112, allocations: 2.799 MB / 4.07 GB, free: 85.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/8.112, allocations: 0.7413 MB / 4.071 GB, free: 84.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004006/8.112, allocations: 77.88 kB / 4.071 GB, free: 84.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/8.112, allocations: 67.41 kB / 4.071 GB, free: 84.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/8.112, allocations: 0 / 4.071 GB, free: 84.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/8.145, allocations: 15.89 MB / 4.087 GB, free: 68.51 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/8.145, allocations: 155.8 kB / 4.087 GB, free: 68.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/10.34, allocations: 3.938 kB / 4.087 GB, free: 68.26 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