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.001326/0.001326, allocations: 172.4 kB / 14.1 MB, free: 1.223 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.566/1.566, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009014/0.0009013, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.381e-05/3.401e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 47.57 MB / 370.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.915/2.026, allocations: 0.7292 GB / 1.091 GB, free: 91.19 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/2.026, allocations: 79.97 kB / 1.091 GB, free: 91.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08256/2.109, allocations: 40 MB / 1.13 GB, free: 54.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/2.109, allocations: 0 / 1.13 GB, free: 54.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.656e-05/2.109, allocations: 4 kB / 1.13 GB, free: 54.52 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.0009779/2.11, allocations: 0.5143 MB / 1.13 GB, free: 53.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/2.11, allocations: 16.03 kB / 1.13 GB, free: 53.94 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.943e-05/2.11, allocations: 50.55 kB / 1.13 GB, free: 53.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002964/2.113, allocations: 367.3 kB / 1.131 GB, free: 53.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/2.114, allocations: 254.8 kB / 1.131 GB, free: 53.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/2.114, allocations: 16.38 kB / 1.131 GB, free: 53.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.972e-05/2.114, allocations: 19.91 kB / 1.131 GB, free: 53.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008028/2.114, allocations: 473.4 kB / 1.131 GB, free: 52.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/2.115, allocations: 3.953 kB / 1.131 GB, free: 52.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/2.115, allocations: 8 kB / 1.131 GB, free: 52.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/2.115, allocations: 8 kB / 1.131 GB, free: 52.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/2.115, allocations: 483.7 kB / 1.132 GB, free: 52.23 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.001989/2.117, allocations: 0.9866 MB / 1.133 GB, free: 51.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/2.118, allocations: 273 kB / 1.133 GB, free: 50.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/2.118, allocations: 133.7 kB / 1.133 GB, free: 50.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/2.119, allocations: 0.6516 MB / 1.134 GB, free: 50.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/2.119, allocations: 42.56 kB / 1.134 GB, free: 49.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.384e-06/2.119, allocations: 0 / 1.134 GB, free: 49.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005764/2.12, allocations: 283.2 kB / 1.134 GB, free: 49.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/2.12, allocations: 81.11 kB / 1.134 GB, free: 49.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/2.12, allocations: 105.2 kB / 1.134 GB, free: 49.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/2.12, allocations: 37.64 kB / 1.134 GB, free: 49.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/2.12, allocations: 112.5 kB / 1.135 GB, free: 49.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.622e-05/2.12, allocations: 106.4 kB / 1.135 GB, free: 49.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/2.12, allocations: 12 kB / 1.135 GB, free: 49.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.889e-05/2.12, allocations: 322.8 kB / 1.135 GB, free: 48.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/2.12, allocations: 104.6 kB / 1.135 GB, free: 48.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/2.12, allocations: 199.5 kB / 1.135 GB, free: 48.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/2.121, allocations: 121.4 kB / 1.135 GB, free: 48.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/2.121, allocations: 7.984 kB / 1.135 GB, free: 48.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005071/2.121, allocations: 341.2 kB / 1.136 GB, free: 48.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/2.121, allocations: 8 kB / 1.136 GB, free: 48.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/2.121, allocations: 0 / 1.136 GB, free: 48.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/2.121, allocations: 11.94 kB / 1.136 GB, free: 48.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/2.122, allocations: 79.89 kB / 1.136 GB, free: 47.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/2.122, allocations: 8.297 kB / 1.136 GB, free: 47.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/2.122, allocations: 35.69 kB / 1.136 GB, free: 47.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/2.122, allocations: 19.98 kB / 1.136 GB, free: 47.91 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 0.0001014/2.122, allocations: 124.9 kB / 1.136 GB, free: 47.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/2.122, allocations: 15.81 kB / 1.136 GB, free: 47.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006395/2.123, allocations: 362.4 kB / 1.136 GB, free: 47.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/2.123, allocations: 7.984 kB / 1.136 GB, free: 47.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/2.123, allocations: 0 / 1.136 GB, free: 47.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/2.123, allocations: 3.984 kB / 1.136 GB, free: 47.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/2.123, allocations: 365 kB / 1.137 GB, free: 46.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/2.123, allocations: 0 / 1.137 GB, free: 46.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/2.124, allocations: 59.89 kB / 1.137 GB, free: 46.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/2.124, allocations: 0 / 1.137 GB, free: 46.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/2.124, allocations: 11.98 kB / 1.137 GB, free: 46.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/2.124, allocations: 8 kB / 1.137 GB, free: 46.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/2.124, allocations: 0 / 1.137 GB, free: 46.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/2.124, allocations: 0.547 MB / 1.137 GB, free: 46.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/2.124, allocations: 92.86 kB / 1.137 GB, free: 46.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/2.125, allocations: 8.062 kB / 1.137 GB, free: 46.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/2.125, allocations: 19.98 kB / 1.137 GB, free: 46.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/2.125, allocations: 19.97 kB / 1.137 GB, free: 46.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/2.125, allocations: 19.98 kB / 1.137 GB, free: 46.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.538e-05/2.125, allocations: 87.58 kB / 1.138 GB, free: 46.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.61e-07/2.125, allocations: 0 / 1.138 GB, free: 46.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00113/2.126, allocations: 267.7 kB / 1.138 GB, free: 45.81 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.002603/2.129, allocations: 1.827 MB / 1.14 GB, free: 43.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004368/2.129, allocations: 275.8 kB / 1.14 GB, free: 43.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/2.129, allocations: 0 / 1.14 GB, free: 43.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/2.129, allocations: 139.9 kB / 1.14 GB, free: 43.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/2.13, allocations: 72.55 kB / 1.14 GB, free: 43.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/2.131, allocations: 0.7472 MB / 1.141 GB, free: 42.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/2.132, allocations: 0.748 MB / 1.142 GB, free: 41.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004729/2.132, allocations: 86.12 kB / 1.142 GB, free: 41.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/2.132, allocations: 59.41 kB / 1.142 GB, free: 41.77 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/2.132, allocations: 0 / 1.142 GB, free: 41.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04002/2.172, allocations: 19.48 MB / 1.161 GB, free: 22.26 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/2.173, allocations: 153.2 kB / 1.161 GB, free: 22.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/4.38, allocations: 0 / 1.161 GB, free: 22.04 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