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.001243/0.001243, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.496/1.496, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0009528/0.0009529, allocations: 99.89 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2878, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.516/1.804, allocations: 0.7293 GB / 1.096 GB, free: 39.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/1.804, allocations: 83.95 kB / 1.096 GB, free: 39.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2982/2.102, allocations: 40.05 MB / 1.136 GB, free: 138.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.042e-06/2.102, allocations: 5.312 kB / 1.136 GB, free: 138.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/2.102, allocations: 3.344 kB / 1.136 GB, free: 138.6 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.0008779/2.103, allocations: 0.5175 MB / 1.136 GB, free: 138.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/2.103, allocations: 8.781 kB / 1.136 GB, free: 138.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.877e-05/2.103, allocations: 57.69 kB / 1.136 GB, free: 138.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/2.106, allocations: 367 kB / 1.137 GB, free: 138.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/2.107, allocations: 258.2 kB / 1.137 GB, free: 137.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/2.107, allocations: 14.19 kB / 1.137 GB, free: 137.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/2.107, allocations: 23.8 kB / 1.137 GB, free: 137.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009771/2.108, allocations: 485.4 kB / 1.137 GB, free: 137.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/2.108, allocations: 2.562 kB / 1.137 GB, free: 137.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/2.108, allocations: 11.16 kB / 1.137 GB, free: 137.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/2.108, allocations: 3.219 kB / 1.137 GB, free: 137.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/2.109, allocations: 0.5006 MB / 1.138 GB, free: 137.9 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.002132/2.111, allocations: 0.9983 MB / 1.139 GB, free: 137.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/2.112, allocations: 282.7 kB / 1.139 GB, free: 137.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/2.113, allocations: 0.6519 MB / 1.14 GB, free: 136.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/2.113, allocations: 39.31 kB / 1.14 GB, free: 136.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.126e-06/2.113, allocations: 0 / 1.14 GB, free: 136.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.00124/2.114, allocations: 410 kB / 1.14 GB, free: 136.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/2.115, allocations: 84.47 kB / 1.14 GB, free: 136.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/2.115, allocations: 109.1 kB / 1.14 GB, free: 136.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/2.115, allocations: 30.33 kB / 1.14 GB, free: 136.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/2.115, allocations: 108.4 kB / 1.14 GB, free: 136.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/2.115, allocations: 110.6 kB / 1.141 GB, free: 136.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/2.115, allocations: 4.875 kB / 1.141 GB, free: 136.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/2.115, allocations: 323.8 kB / 1.141 GB, free: 136.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/2.115, allocations: 122.7 kB / 1.141 GB, free: 136 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/2.116, allocations: 204.1 kB / 1.141 GB, free: 135.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/2.116, allocations: 132.2 kB / 1.141 GB, free: 135.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/2.116, allocations: 0 / 1.141 GB, free: 135.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000678/2.117, allocations: 382.6 kB / 1.142 GB, free: 135.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/2.117, allocations: 6.625 kB / 1.142 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/2.117, allocations: 4.531 kB / 1.142 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/2.117, allocations: 4.812 kB / 1.142 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/2.117, allocations: 82.28 kB / 1.142 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/2.117, allocations: 4.906 kB / 1.142 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/2.117, allocations: 31.06 kB / 1.142 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/2.118, allocations: 16.64 kB / 1.142 GB, free: 135.9 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 () * Number of clocked 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 0.0001758/2.118, allocations: 139 kB / 1.142 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/2.118, allocations: 19.38 kB / 1.142 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008603/2.119, allocations: 372.3 kB / 1.142 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/2.119, allocations: 3.594 kB / 1.142 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/2.119, allocations: 7.062 kB / 1.142 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/2.119, allocations: 3.562 kB / 1.142 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006112/2.119, allocations: 374.8 kB / 1.143 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/2.119, allocations: 0 / 1.143 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/2.12, allocations: 59.78 kB / 1.143 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/2.12, allocations: 0 / 1.143 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/2.12, allocations: 15.7 kB / 1.143 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/2.12, allocations: 0 / 1.143 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/2.12, allocations: 2.75 kB / 1.143 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/2.121, allocations: 0.5714 MB / 1.143 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/2.121, allocations: 91.7 kB / 1.143 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/2.121, allocations: 10 kB / 1.143 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/2.121, allocations: 16.84 kB / 1.143 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/2.121, allocations: 24.12 kB / 1.143 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/2.121, allocations: 14.22 kB / 1.143 GB, free: 135.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.547e-05/2.121, allocations: 93.66 kB / 1.144 GB, free: 135.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/2.121, allocations: 0 / 1.144 GB, free: 135.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00129/2.123, allocations: 265.4 kB / 1.144 GB, free: 135.1 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 () * Number of clocked 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.00282/2.125, allocations: 1.829 MB / 1.146 GB, free: 134.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006222/2.126, allocations: 291.3 kB / 1.146 GB, free: 134.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.126, allocations: 0 / 1.146 GB, free: 134.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/2.126, allocations: 149.4 kB / 1.146 GB, free: 134.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/2.127, allocations: 82.39 kB / 1.146 GB, free: 134.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/2.13, allocations: 3.323 MB / 1.149 GB, free: 131.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/2.13, allocations: 0.733 MB / 1.15 GB, free: 131.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005008/2.13, allocations: 92.38 kB / 1.15 GB, free: 131.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/2.13, allocations: 66.84 kB / 1.15 GB, free: 131.1 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/2.13, allocations: 4 kB / 1.15 GB, free: 131.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/2.161, allocations: 17.81 MB / 1.168 GB, free: 129.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/2.161, allocations: 180.8 kB / 1.168 GB, free: 129.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/4.443, allocations: 0 / 1.168 GB, free: 129.5 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