Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_cpp_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.002335/0.002334, allocations: 181.4 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.2 MB / 219.4 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.001111/0.00111, allocations: 97.92 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.322e-05, allocations: 4 kB / 321.6 MB, free: 17.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.0958, allocations: 47.57 MB / 369.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.46/11.55, allocations: 3.642 GB / 4.003 GB, free: 109.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/11.55, allocations: 68.72 kB / 4.003 GB, free: 109.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1797/11.73, allocations: 48.68 MB / 4.05 GB, free: 65.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.984e-06/11.73, allocations: 4 kB / 4.05 GB, free: 65.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/11.73, allocations: 0 / 4.05 GB, free: 65.53 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.002319/11.74, allocations: 0.6393 MB / 4.051 GB, free: 64.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/11.74, allocations: 8.031 kB / 4.051 GB, free: 64.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.557e-05/11.74, allocations: 46.55 kB / 4.051 GB, free: 64.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/11.74, allocations: 23.75 kB / 4.051 GB, free: 64.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/11.74, allocations: 206.9 kB / 4.051 GB, free: 64.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/11.74, allocations: 12.33 kB / 4.051 GB, free: 64.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/11.74, allocations: 23.89 kB / 4.051 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/11.74, allocations: 245.4 kB / 4.052 GB, free: 64.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/11.74, allocations: 4 kB / 4.052 GB, free: 64.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/11.74, allocations: 4 kB / 4.052 GB, free: 64.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/11.74, allocations: 8 kB / 4.052 GB, free: 64.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/11.74, allocations: 235.9 kB / 4.052 GB, free: 63.98 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.001896/11.74, allocations: 0.6755 MB / 4.052 GB, free: 63.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/11.74, allocations: 201.2 kB / 4.053 GB, free: 63.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/11.74, allocations: 117.7 kB / 4.053 GB, free: 62.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/11.74, allocations: 360.4 kB / 4.053 GB, free: 62.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/11.74, allocations: 38.97 kB / 4.053 GB, free: 62.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.537e-06/11.74, allocations: 0 / 4.053 GB, free: 62.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002514/11.74, allocations: 0.5012 MB / 4.054 GB, free: 61.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/11.74, allocations: 85.3 kB / 4.054 GB, free: 61.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/11.74, allocations: 113.1 kB / 4.054 GB, free: 61.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/11.74, allocations: 33.7 kB / 4.054 GB, free: 61.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/11.74, allocations: 175 kB / 4.054 GB, free: 61.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/11.74, allocations: 122.2 kB / 4.054 GB, free: 61.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/11.74, allocations: 8 kB / 4.054 GB, free: 61.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.26e-05/11.74, allocations: 326.8 kB / 4.054 GB, free: 61.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/11.74, allocations: 108 kB / 4.055 GB, free: 60.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/11.74, allocations: 179.8 kB / 4.055 GB, free: 60.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/11.74, allocations: 144.9 kB / 4.055 GB, free: 60.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/11.74, allocations: 0 / 4.055 GB, free: 60.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008858/11.75, allocations: 357.3 kB / 4.055 GB, free: 60.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/11.75, allocations: 8 kB / 4.055 GB, free: 60.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/11.75, allocations: 0 / 4.055 GB, free: 60.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/11.75, allocations: 4 kB / 4.055 GB, free: 60.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008943/11.75, allocations: 92.47 kB / 4.055 GB, free: 60.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/11.75, allocations: 7.938 kB / 4.055 GB, free: 60.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/11.75, allocations: 27.83 kB / 4.055 GB, free: 60.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/11.75, allocations: 23.98 kB / 4.055 GB, free: 60.07 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 0.0001334/11.75, allocations: 120.9 kB / 4.055 GB, free: 59.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.148e-05/11.75, allocations: 27.77 kB / 4.055 GB, free: 59.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005479/11.75, allocations: 170.3 kB / 4.056 GB, free: 59.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/11.75, allocations: 4 kB / 4.056 GB, free: 59.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/11.75, allocations: 0 / 4.056 GB, free: 59.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/11.75, allocations: 3.984 kB / 4.056 GB, free: 59.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/11.75, allocations: 0.7201 MB / 4.056 GB, free: 58.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/11.75, allocations: 4 kB / 4.056 GB, free: 58.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007852/11.75, allocations: 71.89 kB / 4.056 GB, free: 58.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/11.75, allocations: 7.984 kB / 4.056 GB, free: 58.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/11.75, allocations: 11.98 kB / 4.056 GB, free: 58.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.056e-06/11.75, allocations: 7.953 kB / 4.056 GB, free: 58.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/11.75, allocations: 160 / 4.056 GB, free: 58.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/11.75, allocations: 0.7029 MB / 4.057 GB, free: 58.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/11.75, allocations: 112.9 kB / 4.057 GB, free: 57.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/11.75, allocations: 12 kB / 4.057 GB, free: 57.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006007/11.75, allocations: 27.92 kB / 4.057 GB, free: 57.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/11.75, allocations: 31.97 kB / 4.057 GB, free: 57.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/11.75, allocations: 12 kB / 4.057 GB, free: 57.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.008e-05/11.75, allocations: 95.27 kB / 4.057 GB, free: 57.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/11.75, allocations: 3.938 kB / 4.057 GB, free: 57.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009861/11.75, allocations: 183.8 kB / 4.058 GB, free: 57.59 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.002695/11.76, allocations: 2.203 MB / 4.06 GB, free: 55.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008252/11.76, allocations: 311.7 kB / 4.06 GB, free: 55.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/11.76, allocations: 0 / 4.06 GB, free: 55.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003561/11.76, allocations: 151.8 kB / 4.06 GB, free: 54.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009801/11.76, allocations: 90.41 kB / 4.06 GB, free: 54.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/11.76, allocations: 0.5928 MB / 4.061 GB, free: 54.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/11.76, allocations: 0.7413 MB / 4.062 GB, free: 53.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/11.76, allocations: 63.41 kB / 4.062 GB, free: 53.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/11.76, allocations: 0 / 4.062 GB, free: 53.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.834/14.6, allocations: 7.89 MB / 4.069 GB, free: 45.39 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_cpp_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat