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.001886/0.001886, allocations: 198.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.647/1.647, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001105, allocations: 96.66 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.573e-05, allocations: 4 kB / 343.8 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1791, allocations: 51.47 MB / 395.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.983/2.162, allocations: 0.5424 GB / 0.9284 GB, free: 134.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/2.162, allocations: 72.62 kB / 0.9285 GB, free: 134.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1883/2.351, allocations: 114 MB / 1.04 GB, free: 47.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.455e-06/2.351, allocations: 0 / 1.04 GB, free: 47.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/2.351, allocations: 0 / 1.04 GB, free: 47.66 MB / 442.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.002338/2.353, allocations: 0.5709 MB / 1.04 GB, free: 47.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001013/2.353, allocations: 8.031 kB / 1.04 GB, free: 47.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/2.353, allocations: 8.766 kB / 1.04 GB, free: 47.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/2.354, allocations: 183.8 kB / 1.041 GB, free: 46.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/2.354, allocations: 0 / 1.041 GB, free: 46.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/2.354, allocations: 9.719 kB / 1.041 GB, free: 46.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.553e-05/2.354, allocations: 11.61 kB / 1.041 GB, free: 46.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/2.354, allocations: 71.33 kB / 1.041 GB, free: 46.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/2.354, allocations: 0 / 1.041 GB, free: 46.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/2.354, allocations: 0 / 1.041 GB, free: 46.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/2.354, allocations: 4 kB / 1.041 GB, free: 46.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/2.354, allocations: 147.2 kB / 1.041 GB, free: 46.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/2.355, allocations: 73.23 kB / 1.041 GB, free: 46.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/2.355, allocations: 17.78 kB / 1.041 GB, free: 46.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07803/2.433, allocations: 35.87 MB / 1.076 GB, free: 7.117 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.25e-05/2.433, allocations: 42.52 kB / 1.076 GB, free: 7.066 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 5.32e-06/2.433, allocations: 0 / 1.076 GB, free: 7.066 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.00153/2.434, allocations: 149.5 kB / 1.076 GB, free: 6.914 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/2.435, allocations: 81.11 kB / 1.076 GB, free: 6.816 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/2.435, allocations: 107.6 kB / 1.076 GB, free: 6.707 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/2.435, allocations: 25.7 kB / 1.076 GB, free: 6.676 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/2.435, allocations: 84.14 kB / 1.076 GB, free: 6.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/2.435, allocations: 23.66 kB / 1.076 GB, free: 6.566 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/2.435, allocations: 0 / 1.076 GB, free: 6.566 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/2.435, allocations: 318.8 kB / 1.077 GB, free: 6.246 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/2.435, allocations: 4 kB / 1.077 GB, free: 6.242 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.565e-05/2.435, allocations: 21.72 kB / 1.077 GB, free: 6.215 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009501/2.436, allocations: 107.8 kB / 1.077 GB, free: 6.109 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/2.436, allocations: 0 / 1.077 GB, free: 6.109 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000905/2.437, allocations: 145.6 kB / 1.077 GB, free: 5.961 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/2.437, allocations: 8 kB / 1.077 GB, free: 5.953 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/2.437, allocations: 0 / 1.077 GB, free: 5.953 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/2.437, allocations: 7.953 kB / 1.077 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/2.437, allocations: 13.77 kB / 1.077 GB, free: 5.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/2.437, allocations: 0 / 1.077 GB, free: 5.934 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/2.437, allocations: 7.906 kB / 1.077 GB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/2.437, allocations: 0 / 1.077 GB, free: 5.926 MB / 442.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 7.992e-05/2.437, allocations: 112.9 kB / 1.077 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008671/2.438, allocations: 141.6 kB / 1.077 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/2.438, allocations: 19.84 kB / 1.077 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009939/2.439, allocations: 185.8 kB / 1.077 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/2.439, allocations: 3.938 kB / 1.077 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/2.439, allocations: 0 / 1.077 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/2.439, allocations: 384 / 1.077 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/2.44, allocations: 146.3 kB / 1.078 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/2.44, allocations: 4 kB / 1.078 GB, free: 5.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/2.44, allocations: 16 kB / 1.078 GB, free: 5.254 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/2.44, allocations: 3.984 kB / 1.078 GB, free: 5.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/2.44, allocations: 4 kB / 1.078 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/2.44, allocations: 3.953 kB / 1.078 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/2.44, allocations: 7.984 kB / 1.078 GB, free: 5.234 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000899/2.441, allocations: 195.5 kB / 1.078 GB, free: 5.016 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/2.441, allocations: 94.91 kB / 1.078 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/2.441, allocations: 7.953 kB / 1.078 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/2.441, allocations: 7.984 kB / 1.078 GB, free: 4.891 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/2.441, allocations: 7.984 kB / 1.078 GB, free: 4.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/2.441, allocations: 4 kB / 1.078 GB, free: 4.879 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.343e-05/2.441, allocations: 89.23 kB / 1.078 GB, free: 4.793 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.441, allocations: 0 / 1.078 GB, free: 4.793 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001911/2.443, allocations: 323.6 kB / 1.078 GB, free: 4.477 MB / 442.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.004205/2.447, allocations: 1.428 MB / 1.08 GB, free: 3.012 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/2.447, allocations: 24 kB / 1.08 GB, free: 2.988 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.447, allocations: 0 / 1.08 GB, free: 2.988 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/2.447, allocations: 28.2 kB / 1.08 GB, free: 2.961 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/2.448, allocations: 7.938 kB / 1.08 GB, free: 2.953 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/2.449, allocations: 296.3 kB / 1.08 GB, free: 2.629 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/2.449, allocations: 0.6846 MB / 1.081 GB, free: 1.918 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001535/2.449, allocations: 48.16 kB / 1.081 GB, free: 1.867 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.421e-05/2.45, allocations: 25.2 kB / 1.081 GB, free: 1.844 MB / 442.7 MB Notification: Performance of SimCode: time 3.61e-07/2.45, allocations: 0 / 1.081 GB, free: 1.844 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3561/2.806, allocations: 9.426 MB / 1.09 GB, free: 120.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/2.806, allocations: 133.8 kB / 1.09 GB, free: 120.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/5.179, allocations: 0 / 1.09 GB, free: 120.5 MB / 442.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