Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",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.001247/0.001248, allocations: 181.6 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.474/1.474, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0009818/0.0009816, allocations: 96.08 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.0002919, allocations: 11.98 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2547, allocations: 47.56 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.83/15.08, allocations: 6.612 GB / 6.979 GB, free: 12.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/15.08, allocations: 73.28 kB / 6.979 GB, free: 12.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6136/15.7, allocations: 179.7 MB / 7.154 GB, free: 9.047 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/15.7, allocations: 0 / 7.154 GB, free: 9.047 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/15.7, allocations: 4 kB / 7.154 GB, free: 9.043 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.005031/15.7, allocations: 1.099 MB / 7.155 GB, free: 7.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/15.7, allocations: 8.031 kB / 7.155 GB, free: 7.887 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/15.7, allocations: 34.56 kB / 7.156 GB, free: 7.844 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/15.7, allocations: 15.94 kB / 7.156 GB, free: 7.828 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/15.7, allocations: 186.9 kB / 7.156 GB, free: 7.605 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/15.7, allocations: 12 kB / 7.156 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/15.7, allocations: 0 / 7.156 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/15.7, allocations: 71.31 kB / 7.156 GB, free: 7.512 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/15.7, allocations: 3.984 kB / 7.156 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.453e-05/15.7, allocations: 8 kB / 7.156 GB, free: 7.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/15.7, allocations: 0 / 7.156 GB, free: 7.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/15.7, allocations: 35.95 kB / 7.156 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/15.7, allocations: 186.5 kB / 7.156 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/15.7, allocations: 97.2 kB / 7.156 GB, free: 7.117 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.676e-05/15.7, allocations: 20.12 kB / 7.156 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/15.7, allocations: 42.5 kB / 7.156 GB, free: 7.047 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/15.7, allocations: 0 / 7.156 GB, free: 7.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003035/15.7, allocations: 93.64 kB / 7.156 GB, free: 6.949 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/15.7, allocations: 92.91 kB / 7.156 GB, free: 6.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/15.7, allocations: 117.2 kB / 7.156 GB, free: 6.715 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/15.7, allocations: 33.7 kB / 7.157 GB, free: 6.676 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/15.7, allocations: 88.12 kB / 7.157 GB, free: 6.586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/15.7, allocations: 23.66 kB / 7.157 GB, free: 6.562 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/15.7, allocations: 0 / 7.157 GB, free: 6.562 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.448e-05/15.7, allocations: 322.8 kB / 7.157 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/15.7, allocations: 15.98 kB / 7.157 GB, free: 6.223 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-05/15.7, allocations: 29.7 kB / 7.157 GB, free: 6.188 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/15.7, allocations: 19.98 kB / 7.157 GB, free: 6.168 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/15.7, allocations: 4 kB / 7.157 GB, free: 6.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001478/15.7, allocations: 81.5 kB / 7.157 GB, free: 6.078 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/15.7, allocations: 8 kB / 7.157 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/15.7, allocations: 0 / 7.157 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/15.7, allocations: 0 / 7.157 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/15.7, allocations: 15.98 kB / 7.157 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/15.7, allocations: 3.984 kB / 7.157 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/15.7, allocations: 4 kB / 7.157 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/15.7, allocations: 4 kB / 7.157 GB, free: 6.043 MB / 426.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 () * Number of clocked 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.853e-05/15.7, allocations: 121.7 kB / 7.157 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/15.7, allocations: 11.89 kB / 7.157 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/15.7, allocations: 106 kB / 7.157 GB, free: 5.785 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/15.7, allocations: 3.938 kB / 7.157 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/15.7, allocations: 0 / 7.157 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/15.7, allocations: 0 / 7.157 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/15.7, allocations: 177.6 kB / 7.157 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/15.7, allocations: 0 / 7.157 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.069e-05/15.7, allocations: 15.98 kB / 7.158 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/15.7, allocations: 4 kB / 7.158 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/15.7, allocations: 4 kB / 7.158 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/15.7, allocations: 0 / 7.158 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/15.7, allocations: 0 / 7.158 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/15.7, allocations: 136.1 kB / 7.158 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/15.7, allocations: 97.02 kB / 7.158 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/15.7, allocations: 4 kB / 7.158 GB, free: 5.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/15.7, allocations: 11.94 kB / 7.158 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/15.7, allocations: 11.92 kB / 7.158 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/15.7, allocations: 4 kB / 7.158 GB, free: 5.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.033e-05/15.7, allocations: 107.2 kB / 7.158 GB, free: 5.125 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/15.7, allocations: 0 / 7.158 GB, free: 5.125 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004992/15.71, allocations: 0.9794 MB / 7.159 GB, free: 4.145 MB / 426.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 () * Number of clocked 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.007872/15.72, allocations: 2.103 MB / 7.161 GB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/15.72, allocations: 47.97 kB / 7.161 GB, free: 1.969 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/15.72, allocations: 0 / 7.161 GB, free: 1.969 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.829e-05/15.72, allocations: 23.92 kB / 7.161 GB, free: 1.945 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/15.72, allocations: 15.98 kB / 7.161 GB, free: 1.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/15.72, allocations: 1.148 MB / 7.162 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2054/15.93, allocations: 0.6878 MB / 7.163 GB, free: 78.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001151/15.93, allocations: 17.73 kB / 7.163 GB, free: 78.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/15.93, allocations: 15.81 kB / 7.163 GB, free: 78.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.223e-06/15.93, allocations: 0 / 7.163 GB, free: 78.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06063/15.99, allocations: 30.59 MB / 7.193 GB, free: 77.63 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/15.99, allocations: 230.1 kB / 7.193 GB, free: 77.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.76/18.75, allocations: 2.062 kB / 7.193 GB, free: 77.38 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat