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.00246/0.00246, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.966/1.966, allocations: 205.4 MB / 222.5 MB, free: 9.148 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.001161/0.001161, allocations: 93.73 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003884, allocations: 8 kB / 327.1 MB, free: 140 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3351, allocations: 47.57 MB / 374.6 MB, free: 45.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.91/11.24, allocations: 3.642 GB / 4.008 GB, free: 112.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/11.24, allocations: 77.45 kB / 4.008 GB, free: 112.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1765/11.42, allocations: 48.77 MB / 4.056 GB, free: 96.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.754e-06/11.42, allocations: 0 / 4.056 GB, free: 96.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/11.42, allocations: 4 kB / 4.056 GB, free: 96.58 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.002548/11.42, allocations: 0.6373 MB / 4.057 GB, free: 95.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/11.42, allocations: 12.03 kB / 4.057 GB, free: 95.9 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/11.42, allocations: 49.05 kB / 4.057 GB, free: 95.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/11.42, allocations: 19.81 kB / 4.057 GB, free: 95.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/11.42, allocations: 207.5 kB / 4.057 GB, free: 95.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/11.42, allocations: 16.33 kB / 4.057 GB, free: 95.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/11.42, allocations: 16.64 kB / 4.057 GB, free: 95.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008458/11.42, allocations: 267.3 kB / 4.057 GB, free: 95.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/11.42, allocations: 7.906 kB / 4.057 GB, free: 95.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/11.42, allocations: 7.938 kB / 4.057 GB, free: 95.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/11.42, allocations: 4 kB / 4.057 GB, free: 95.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/11.43, allocations: 263.2 kB / 4.057 GB, free: 95.15 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.002049/11.43, allocations: 0.6838 MB / 4.058 GB, free: 94.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/11.43, allocations: 215.3 kB / 4.058 GB, free: 94.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003949/11.43, allocations: 359.3 kB / 4.059 GB, free: 93.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/11.43, allocations: 37.88 kB / 4.059 GB, free: 93.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.965e-06/11.43, allocations: 0 / 4.059 GB, free: 93.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.004175/11.43, allocations: 0.6872 MB / 4.059 GB, free: 93.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/11.43, allocations: 81.3 kB / 4.059 GB, free: 93.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/11.43, allocations: 120.8 kB / 4.059 GB, free: 93.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/11.43, allocations: 33.27 kB / 4.059 GB, free: 93.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/11.43, allocations: 174.7 kB / 4.06 GB, free: 92.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/11.43, allocations: 128.3 kB / 4.06 GB, free: 92.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/11.43, allocations: 3.5 kB / 4.06 GB, free: 92.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/11.43, allocations: 325.7 kB / 4.06 GB, free: 92.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/11.44, allocations: 138.9 kB / 4.06 GB, free: 92.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/11.44, allocations: 202.9 kB / 4.06 GB, free: 92.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006889/11.44, allocations: 153.5 kB / 4.061 GB, free: 92.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/11.44, allocations: 0 / 4.061 GB, free: 92.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001596/11.44, allocations: 413.3 kB / 4.061 GB, free: 91.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/11.44, allocations: 9.562 kB / 4.061 GB, free: 91.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/11.44, allocations: 4.219 kB / 4.061 GB, free: 91.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/11.44, allocations: 4 kB / 4.061 GB, free: 91.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009218/11.44, allocations: 89.62 kB / 4.061 GB, free: 91.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/11.44, allocations: 7.938 kB / 4.061 GB, free: 91.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/11.44, allocations: 31.66 kB / 4.061 GB, free: 91.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/11.44, allocations: 10.62 kB / 4.061 GB, free: 91.68 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.0002013/11.44, allocations: 145.9 kB / 4.061 GB, free: 91.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/11.44, allocations: 23.77 kB / 4.061 GB, free: 91.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005835/11.44, allocations: 178.4 kB / 4.061 GB, free: 91.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/11.44, allocations: 4 kB / 4.061 GB, free: 91.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/11.44, allocations: 0 / 4.061 GB, free: 91.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/11.44, allocations: 4 kB / 4.061 GB, free: 91.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/11.44, allocations: 0.7431 MB / 4.062 GB, free: 90.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/11.44, allocations: 0 / 4.062 GB, free: 90.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008211/11.44, allocations: 82.38 kB / 4.062 GB, free: 90.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/11.44, allocations: 4 kB / 4.062 GB, free: 90.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/11.44, allocations: 9 kB / 4.062 GB, free: 90.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/11.44, allocations: 4 kB / 4.062 GB, free: 90.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/11.44, allocations: 7.891 kB / 4.062 GB, free: 90.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/11.45, allocations: 0.7825 MB / 4.063 GB, free: 89.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/11.45, allocations: 116 kB / 4.063 GB, free: 89.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/11.45, allocations: 7.625 kB / 4.063 GB, free: 89.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006442/11.45, allocations: 34.2 kB / 4.063 GB, free: 89.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/11.45, allocations: 30.52 kB / 4.063 GB, free: 89.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/11.45, allocations: 10.19 kB / 4.063 GB, free: 89.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.027e-05/11.45, allocations: 104.3 kB / 4.063 GB, free: 89.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/11.45, allocations: 0 / 4.063 GB, free: 89.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001013/11.45, allocations: 182.3 kB / 4.063 GB, free: 89.45 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.003893/11.45, allocations: 2.273 MB / 4.066 GB, free: 87.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001602/11.45, allocations: 337.3 kB / 4.066 GB, free: 87.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/11.45, allocations: 0 / 4.066 GB, free: 87.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007278/11.46, allocations: 174.8 kB / 4.066 GB, free: 86.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000996/11.46, allocations: 91.53 kB / 4.066 GB, free: 86.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005208/11.46, allocations: 2.832 MB / 4.069 GB, free: 83.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/11.46, allocations: 0.7413 MB / 4.07 GB, free: 83.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/11.46, allocations: 71.39 kB / 4.07 GB, free: 83.11 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/11.46, allocations: 0 / 4.07 GB, free: 83.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.757/14.22, allocations: 7.825 MB / 4.077 GB, free: 75.29 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