Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",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.001224/0.001224, allocations: 175.2 kB / 14.1 MB, free: 1.211 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.429/1.429, allocations: 205.2 MB / 219.8 MB, free: 14.28 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.0007797/0.0007796, allocations: 86.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.213e-05, allocations: 0 / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07548/0.07552, allocations: 47.57 MB / 370.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.6/1.675, allocations: 0.7379 GB / 1.099 GB, free: 96.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/1.676, allocations: 63.97 kB / 1.099 GB, free: 96.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4548/2.13, allocations: 107.2 MB / 1.204 GB, free: 120.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.423e-06/2.13, allocations: 3.125 kB / 1.204 GB, free: 120.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/2.13, allocations: 6 kB / 1.204 GB, free: 120.9 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002851/2.133, allocations: 0.7724 MB / 1.205 GB, free: 120.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/2.133, allocations: 8 kB / 1.205 GB, free: 120.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/2.134, allocations: 66.7 kB / 1.205 GB, free: 120.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/2.135, allocations: 248.4 kB / 1.205 GB, free: 120.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/2.136, allocations: 285.9 kB / 1.205 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/2.136, allocations: 18.09 kB / 1.205 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/2.136, allocations: 36.62 kB / 1.205 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/2.137, allocations: 0.6088 MB / 1.206 GB, free: 120.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/2.137, allocations: 1 kB / 1.206 GB, free: 120.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/2.138, allocations: 12.03 kB / 1.206 GB, free: 120.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/2.138, allocations: 19.89 kB / 1.206 GB, free: 120.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/2.139, allocations: 0.6547 MB / 1.207 GB, free: 120.1 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.003792/2.142, allocations: 1.81 MB / 1.209 GB, free: 119.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/2.143, allocations: 387.5 kB / 1.209 GB, free: 119.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/2.144, allocations: 187 kB / 1.209 GB, free: 119.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001612/2.145, allocations: 0.9178 MB / 1.21 GB, free: 118.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/2.145, allocations: 38.47 kB / 1.21 GB, free: 118.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.265e-06/2.145, allocations: 0 / 1.21 GB, free: 118.4 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01011/2.155, allocations: 2.793 MB / 1.213 GB, free: 117.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/2.155, allocations: 81.05 kB / 1.213 GB, free: 117.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/2.156, allocations: 164.5 kB / 1.213 GB, free: 117.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.68e-05/2.156, allocations: 37.36 kB / 1.213 GB, free: 117.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/2.156, allocations: 180.5 kB / 1.213 GB, free: 117.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/2.156, allocations: 175.5 kB / 1.213 GB, free: 117.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/2.156, allocations: 13.03 kB / 1.213 GB, free: 117.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/2.156, allocations: 331 kB / 1.214 GB, free: 116.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/2.156, allocations: 210.8 kB / 1.214 GB, free: 116.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/2.157, allocations: 375.4 kB / 1.214 GB, free: 116.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/2.157, allocations: 253.6 kB / 1.214 GB, free: 116.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/2.157, allocations: 3.953 kB / 1.214 GB, free: 116.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001211/2.159, allocations: 0.6706 MB / 1.215 GB, free: 116.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/2.159, allocations: 7.578 kB / 1.215 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/2.159, allocations: 6.156 kB / 1.215 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/2.159, allocations: 58.94 kB / 1.215 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/2.16, allocations: 177.3 kB / 1.215 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006021/2.161, allocations: 1.08 MB / 1.216 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/2.161, allocations: 48.97 kB / 1.216 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.779e-05/2.161, allocations: 38.5 kB / 1.217 GB, free: 115.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001935/2.162, allocations: 145 kB / 1.217 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/2.162, allocations: 27.03 kB / 1.217 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/2.163, allocations: 0.6819 MB / 1.217 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/2.163, allocations: 10.47 kB / 1.217 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/2.163, allocations: 0 / 1.217 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/2.163, allocations: 6.891 kB / 1.217 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/2.166, allocations: 1.453 MB / 1.219 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/2.166, allocations: 7.203 kB / 1.219 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009108/2.167, allocations: 144 kB / 1.219 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/2.167, allocations: 46.14 kB / 1.219 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.159e-05/2.167, allocations: 27.58 kB / 1.219 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/2.168, allocations: 2.526 MB / 1.221 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/2.168, allocations: 10.5 kB / 1.221 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/2.17, allocations: 1.009 MB / 1.222 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/2.17, allocations: 99.2 kB / 1.223 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.043e-05/2.17, allocations: 18.42 kB / 1.223 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007025/2.171, allocations: 41.53 kB / 1.223 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/2.171, allocations: 52.03 kB / 1.223 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.576e-05/2.171, allocations: 41.27 kB / 1.223 GB, free: 111.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.322e-05/2.171, allocations: 119.6 kB / 1.223 GB, free: 111.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/2.171, allocations: 0 / 1.223 GB, free: 111.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002278/2.173, allocations: 440.5 kB / 1.223 GB, free: 111.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005383/2.179, allocations: 3.139 MB / 1.226 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/2.18, allocations: 0.5502 MB / 1.227 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/2.18, allocations: 3.75 kB / 1.227 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006208/2.18, allocations: 488.4 kB / 1.227 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/2.181, allocations: 95.34 kB / 1.227 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/2.184, allocations: 0.9435 MB / 1.228 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/2.184, allocations: 0.7948 MB / 1.229 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001124/2.186, allocations: 189.7 kB / 1.229 GB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/2.186, allocations: 128.5 kB / 1.229 GB, free: 108.5 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/2.186, allocations: 0 / 1.229 GB, free: 108.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0542/2.24, allocations: 29.99 MB / 1.259 GB, free: 97.98 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/2.24, allocations: 180.1 kB / 1.259 GB, free: 97.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/5.319, allocations: 0 / 1.259 GB, free: 97.74 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_MixtureGases.fmu > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat