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.001307/0.001307, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009466/0.0009468, allocations: 82.7 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.58e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 47.59 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.29/10.4, allocations: 3.642 GB / 3.996 GB, free: 20.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/10.4, allocations: 71.2 kB / 3.997 GB, free: 20.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3752/10.77, allocations: 47.95 MB / 4.043 GB, free: 138.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.845e-06/10.77, allocations: 0 / 4.043 GB, free: 138.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.188e-05/10.77, allocations: 3.375 kB / 4.043 GB, free: 138.7 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.002569/10.77, allocations: 0.6239 MB / 4.044 GB, free: 138.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.544e-05/10.77, allocations: 9.312 kB / 4.044 GB, free: 138.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/10.77, allocations: 25.61 kB / 4.044 GB, free: 138.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/10.78, allocations: 207.8 kB / 4.044 GB, free: 138 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/10.78, allocations: 3.594 kB / 4.044 GB, free: 138 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/10.78, allocations: 19.28 kB / 4.044 GB, free: 138 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004642/10.78, allocations: 207.8 kB / 4.044 GB, free: 137.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/10.78, allocations: 205.5 kB / 4.045 GB, free: 137.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/10.78, allocations: 11.88 kB / 4.045 GB, free: 137.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/10.78, allocations: 0 / 4.045 GB, free: 137.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/10.78, allocations: 3.875 kB / 4.045 GB, free: 137.8 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.001467/10.78, allocations: 0.6421 MB / 4.045 GB, free: 137.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/10.78, allocations: 193.6 kB / 4.045 GB, free: 137.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/10.78, allocations: 113.4 kB / 4.046 GB, free: 137.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004556/10.78, allocations: 358.6 kB / 4.046 GB, free: 136.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/10.78, allocations: 42.56 kB / 4.046 GB, free: 136.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/10.78, allocations: 0 / 4.046 GB, free: 136.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.001669/10.78, allocations: 496.8 kB / 4.046 GB, free: 136.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/10.78, allocations: 85.23 kB / 4.047 GB, free: 136.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/10.78, allocations: 111.9 kB / 4.047 GB, free: 136.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/10.78, allocations: 25.7 kB / 4.047 GB, free: 136.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/10.78, allocations: 108.1 kB / 4.047 GB, free: 136.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/10.78, allocations: 124.2 kB / 4.047 GB, free: 136.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/10.78, allocations: 0 / 4.047 GB, free: 136.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/10.78, allocations: 328.6 kB / 4.047 GB, free: 135.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/10.78, allocations: 99.53 kB / 4.047 GB, free: 135.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/10.78, allocations: 173.3 kB / 4.047 GB, free: 135.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/10.78, allocations: 147.5 kB / 4.048 GB, free: 135.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/10.78, allocations: 0 / 4.048 GB, free: 135.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005944/10.78, allocations: 351.7 kB / 4.048 GB, free: 135.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/10.78, allocations: 7.344 kB / 4.048 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/10.78, allocations: 0 / 4.048 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/10.78, allocations: 3.625 kB / 4.048 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/10.78, allocations: 92.69 kB / 4.048 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/10.78, allocations: 3.938 kB / 4.048 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/10.78, allocations: 26.22 kB / 4.048 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/10.78, allocations: 14.77 kB / 4.048 GB, free: 135.5 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.0001257/10.78, allocations: 120.6 kB / 4.048 GB, free: 135.4 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005308/10.78, allocations: 305.6 kB / 4.048 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/10.78, allocations: 31.09 kB / 4.048 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/10.78, allocations: 173.6 kB / 4.049 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/10.78, allocations: 3.969 kB / 4.049 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/10.78, allocations: 0 / 4.049 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/10.78, allocations: 7.703 kB / 4.049 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/10.79, allocations: 0.6446 MB / 4.049 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/10.79, allocations: 0 / 4.049 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/10.79, allocations: 81.39 kB / 4.049 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/10.79, allocations: 3.969 kB / 4.049 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/10.79, allocations: 7.438 kB / 4.049 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/10.79, allocations: 3.969 kB / 4.049 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/10.79, allocations: 8.094 kB / 4.049 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008573/10.79, allocations: 0.6904 MB / 4.05 GB, free: 134.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/10.79, allocations: 123.7 kB / 4.05 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/10.79, allocations: 4 kB / 4.05 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/10.79, allocations: 19.84 kB / 4.05 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/10.79, allocations: 23.55 kB / 4.05 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/10.79, allocations: 15.64 kB / 4.05 GB, free: 134.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.675e-05/10.79, allocations: 98.81 kB / 4.05 GB, free: 134 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.1e-07/10.79, allocations: 0 / 4.05 GB, free: 134 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009376/10.79, allocations: 159.4 kB / 4.05 GB, free: 133.9 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.002549/10.79, allocations: 2.284 MB / 4.053 GB, free: 132.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005675/10.79, allocations: 277 kB / 4.053 GB, free: 132.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/10.79, allocations: 288 / 4.053 GB, free: 132.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/10.79, allocations: 149.2 kB / 4.053 GB, free: 132.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/10.79, allocations: 83.19 kB / 4.053 GB, free: 132.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/10.79, allocations: 0.5467 MB / 4.054 GB, free: 131.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/10.79, allocations: 0.7366 MB / 4.054 GB, free: 131.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004063/10.8, allocations: 86.16 kB / 4.055 GB, free: 131.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/10.8, allocations: 60.98 kB / 4.055 GB, free: 131 MB / 426.7 MB Notification: Performance of SimCode: time 6.81e-07/10.8, allocations: 0 / 4.055 GB, free: 131 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/10.83, allocations: 11.08 MB / 4.065 GB, free: 126.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/10.83, allocations: 119.7 kB / 4.066 GB, free: 126 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/13.39, allocations: 0 / 4.066 GB, free: 126 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