Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.001689, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.641/1.641, allocations: 225.4 MB / 240.1 MB, free: 15.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.001101, allocations: 87.89 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.163e-05, allocations: 224 / 350.6 MB, free: 2.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1464, allocations: 51.48 MB / 402.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.076/2.223, allocations: 0.5431 GB / 0.9358 GB, free: 124.9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/2.223, allocations: 72.55 kB / 0.9358 GB, free: 124.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1903/2.414, allocations: 117.5 MB / 1.051 GB, free: 54.28 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.006e-06/2.414, allocations: 0 / 1.051 GB, free: 54.28 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/2.414, allocations: 4 kB / 1.051 GB, free: 54.28 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001807/2.415, allocations: 0.5597 MB / 1.051 GB, free: 53.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.885e-05/2.416, allocations: 8.031 kB / 1.051 GB, free: 53.67 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/2.416, allocations: 38.56 kB / 1.051 GB, free: 53.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/2.416, allocations: 7.984 kB / 1.051 GB, free: 53.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/2.416, allocations: 187.1 kB / 1.051 GB, free: 53.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/2.416, allocations: 3.938 kB / 1.051 GB, free: 53.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/2.416, allocations: 7.609 kB / 1.051 GB, free: 53.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/2.416, allocations: 67.34 kB / 1.051 GB, free: 53.31 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/2.416, allocations: 0 / 1.051 GB, free: 53.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/2.416, allocations: 0 / 1.051 GB, free: 53.31 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/2.416, allocations: 0 / 1.051 GB, free: 53.31 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.993e-05/2.416, allocations: 22.23 kB / 1.052 GB, free: 53.29 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/2.417, allocations: 178.6 kB / 1.052 GB, free: 53.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/2.417, allocations: 69.14 kB / 1.052 GB, free: 52.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/2.417, allocations: 29.91 kB / 1.052 GB, free: 52.94 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06867/2.486, allocations: 35.88 MB / 1.087 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/2.486, allocations: 38.56 kB / 1.087 GB, free: 13.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 3.526e-06/2.486, allocations: 0 / 1.087 GB, free: 13.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003207/2.486, allocations: 57.62 kB / 1.087 GB, free: 13.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/2.486, allocations: 81.09 kB / 1.087 GB, free: 13.44 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.978e-05/2.486, allocations: 105 kB / 1.087 GB, free: 13.33 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/2.486, allocations: 33.7 kB / 1.087 GB, free: 13.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/2.486, allocations: 80.14 kB / 1.087 GB, free: 13.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/2.486, allocations: 31.62 kB / 1.087 GB, free: 13.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/2.486, allocations: 0 / 1.087 GB, free: 13.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.737e-05/2.487, allocations: 314.8 kB / 1.088 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/2.487, allocations: 8 kB / 1.088 GB, free: 12.85 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/2.487, allocations: 25.7 kB / 1.088 GB, free: 12.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/2.487, allocations: 8 kB / 1.088 GB, free: 12.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/2.487, allocations: 2.25 kB / 1.088 GB, free: 12.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001184/2.487, allocations: 69.61 kB / 1.088 GB, free: 12.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/2.487, allocations: 7.953 kB / 1.088 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/2.487, allocations: 4 kB / 1.088 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/2.487, allocations: 0 / 1.088 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/2.487, allocations: 8 kB / 1.088 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/2.487, allocations: 3.984 kB / 1.088 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/2.487, allocations: 11.84 kB / 1.088 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/2.487, allocations: 4 kB / 1.088 GB, free: 12.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.984e-05/2.487, allocations: 105 kB / 1.088 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/2.487, allocations: 8 kB / 1.088 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/2.487, allocations: 107.7 kB / 1.088 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/2.487, allocations: 3.938 kB / 1.088 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/2.487, allocations: 4 kB / 1.088 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/2.487, allocations: 4 kB / 1.088 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/2.487, allocations: 165.7 kB / 1.088 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/2.487, allocations: 0 / 1.088 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/2.488, allocations: 11.94 kB / 1.088 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/2.488, allocations: 4 kB / 1.088 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/2.488, allocations: 3.984 kB / 1.088 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/2.488, allocations: 3.953 kB / 1.088 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/2.488, allocations: 0 / 1.088 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/2.488, allocations: 107.8 kB / 1.088 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/2.488, allocations: 89 kB / 1.088 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/2.488, allocations: 17.91 kB / 1.088 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/2.488, allocations: 4 kB / 1.088 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/2.488, allocations: 7.984 kB / 1.088 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/2.488, allocations: 4 kB / 1.088 GB, free: 11.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.208e-05/2.488, allocations: 94.17 kB / 1.088 GB, free: 11.87 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/2.488, allocations: 3.938 kB / 1.088 GB, free: 11.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001314/2.489, allocations: 335.6 kB / 1.089 GB, free: 11.54 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001952/2.491, allocations: 1.323 MB / 1.09 GB, free: 10.17 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001236/2.491, allocations: 35.92 kB / 1.09 GB, free: 10.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/2.491, allocations: 0 / 1.09 GB, free: 10.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-05/2.491, allocations: 15.94 kB / 1.09 GB, free: 10.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/2.492, allocations: 15.94 kB / 1.09 GB, free: 10.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007207/2.492, allocations: 294.8 kB / 1.09 GB, free: 9.777 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/2.493, allocations: 0.6887 MB / 1.091 GB, free: 9.062 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000122/2.493, allocations: 46.09 kB / 1.091 GB, free: 9.016 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/2.493, allocations: 27.42 kB / 1.091 GB, free: 8.988 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/2.493, allocations: 0 / 1.091 GB, free: 8.988 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3136/2.806, allocations: 11.18 MB / 1.102 GB, free: 130.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/2.807, allocations: 154.4 kB / 1.102 GB, free: 129.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/5.07, allocations: 3.5 kB / 1.102 GB, free: 129.8 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat