Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",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.001532/0.001532, allocations: 178.4 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 2.048/2.048, allocations: 205.3 MB / 214.4 MB, free: 1.668 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.001311/0.001312, allocations: 94.36 kB / 262.5 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.096e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 47.58 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.541/2.67, allocations: 0.7288 GB / 1.083 GB, free: 104.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003974/2.67, allocations: 79.33 kB / 1.084 GB, free: 104.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09192/2.762, allocations: 39.3 MB / 1.122 GB, free: 71.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/2.762, allocations: 0 / 1.122 GB, free: 71.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/2.762, allocations: 7.984 kB / 1.122 GB, free: 71.36 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.000864/2.763, allocations: 0.5143 MB / 1.122 GB, free: 70.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/2.763, allocations: 8.031 kB / 1.122 GB, free: 70.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/2.766, allocations: 367.3 kB / 1.123 GB, free: 70.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/2.766, allocations: 250.9 kB / 1.123 GB, free: 70.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/2.766, allocations: 8 kB / 1.123 GB, free: 70.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.081e-05/2.767, allocations: 19.91 kB / 1.123 GB, free: 70.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007348/2.767, allocations: 472.5 kB / 1.123 GB, free: 69.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/2.768, allocations: 313.4 kB / 1.124 GB, free: 69.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/2.768, allocations: 0 / 1.124 GB, free: 69.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/2.768, allocations: 8 kB / 1.124 GB, free: 69.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/2.768, allocations: 4 kB / 1.124 GB, free: 69.33 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.001948/2.77, allocations: 0.9368 MB / 1.125 GB, free: 68.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/2.77, allocations: 257 kB / 1.125 GB, free: 68.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/2.77, allocations: 129.7 kB / 1.125 GB, free: 67.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/2.771, allocations: 0.6593 MB / 1.126 GB, free: 67.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/2.771, allocations: 38.56 kB / 1.126 GB, free: 67.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 1.854e-06/2.771, allocations: 0 / 1.126 GB, free: 67.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005713/2.772, allocations: 267 kB / 1.126 GB, free: 66.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/2.772, allocations: 85.11 kB / 1.126 GB, free: 66.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/2.772, allocations: 101.3 kB / 1.126 GB, free: 66.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/2.772, allocations: 25.7 kB / 1.126 GB, free: 66.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/2.772, allocations: 116.4 kB / 1.126 GB, free: 66.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/2.772, allocations: 106.4 kB / 1.126 GB, free: 66.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/2.772, allocations: 0 / 1.126 GB, free: 66.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/2.772, allocations: 330.8 kB / 1.127 GB, free: 66.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/2.773, allocations: 100.6 kB / 1.127 GB, free: 65.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/2.773, allocations: 183.3 kB / 1.127 GB, free: 65.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/2.773, allocations: 123.9 kB / 1.127 GB, free: 65.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/2.773, allocations: 0 / 1.127 GB, free: 65.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004733/2.773, allocations: 318.3 kB / 1.127 GB, free: 65.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/2.773, allocations: 7.953 kB / 1.127 GB, free: 65.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/2.773, allocations: 15.97 kB / 1.127 GB, free: 65.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/2.773, allocations: 4 kB / 1.127 GB, free: 65.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/2.774, allocations: 75.84 kB / 1.128 GB, free: 65.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/2.774, allocations: 11.98 kB / 1.128 GB, free: 65.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/2.774, allocations: 23.69 kB / 1.128 GB, free: 65.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/2.774, allocations: 23.98 kB / 1.128 GB, free: 65.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 9.674e-05/2.774, allocations: 109 kB / 1.128 GB, free: 65.04 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004397/2.775, allocations: 273.5 kB / 1.128 GB, free: 64.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/2.775, allocations: 19.86 kB / 1.128 GB, free: 64.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005994/2.775, allocations: 326.4 kB / 1.128 GB, free: 64.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/2.775, allocations: 4 kB / 1.128 GB, free: 64.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/2.775, allocations: 4 kB / 1.128 GB, free: 64.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/2.775, allocations: 7.984 kB / 1.128 GB, free: 64.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/2.776, allocations: 317.7 kB / 1.129 GB, free: 64.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/2.776, allocations: 0 / 1.129 GB, free: 64.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/2.776, allocations: 63.84 kB / 1.129 GB, free: 64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/2.776, allocations: 0 / 1.129 GB, free: 64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/2.776, allocations: 8 kB / 1.129 GB, free: 63.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/2.776, allocations: 11.97 kB / 1.129 GB, free: 63.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/2.776, allocations: 0 / 1.129 GB, free: 63.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/2.777, allocations: 0.5175 MB / 1.129 GB, free: 63.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/2.777, allocations: 92.95 kB / 1.129 GB, free: 63.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/2.777, allocations: 0 / 1.129 GB, free: 63.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/2.777, allocations: 15.89 kB / 1.129 GB, free: 63.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/2.777, allocations: 20.03 kB / 1.129 GB, free: 63.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/2.778, allocations: 19.98 kB / 1.129 GB, free: 63.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.56e-05/2.778, allocations: 91.22 kB / 1.129 GB, free: 63.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.778, allocations: 0 / 1.129 GB, free: 63.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001168/2.779, allocations: 251.7 kB / 1.13 GB, free: 62.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.00216/2.781, allocations: 1.866 MB / 1.131 GB, free: 61.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004034/2.781, allocations: 267.6 kB / 1.132 GB, free: 60.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/2.781, allocations: 0.625 kB / 1.132 GB, free: 60.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/2.782, allocations: 131.9 kB / 1.132 GB, free: 60.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/2.782, allocations: 67.92 kB / 1.132 GB, free: 60.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/2.783, allocations: 0.719 MB / 1.133 GB, free: 59.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/2.784, allocations: 0.7442 MB / 1.133 GB, free: 59.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004744/2.784, allocations: 86.12 kB / 1.133 GB, free: 58.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/2.784, allocations: 67.34 kB / 1.134 GB, free: 58.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/2.784, allocations: 3.938 kB / 1.134 GB, free: 58.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04201/2.826, allocations: 13.08 MB / 1.146 GB, free: 45.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/2.827, allocations: 130.1 kB / 1.146 GB, free: 45.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/5.31, allocations: 3.938 kB / 1.146 GB, free: 45.61 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat