Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.3 MB / 235.5 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009836/0.0009839, allocations: 92.67 kB / 286.5 MB, free: 256 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.187e-05, allocations: 0 / 343.9 MB, free: 4.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 50.42 MB / 394.3 MB, free: 1.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.011/2.14, allocations: 0.5423 GB / 0.9274 GB, free: 102.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/2.14, allocations: 76.39 kB / 0.9275 GB, free: 102.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5154/2.655, allocations: 117.5 MB / 1.042 GB, free: 133.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.855e-06/2.655, allocations: 0 / 1.042 GB, free: 133.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/2.655, allocations: 0 / 1.042 GB, free: 133.8 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.001517/2.657, allocations: 0.574 MB / 1.043 GB, free: 133.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/2.657, allocations: 8.594 kB / 1.043 GB, free: 133.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/2.657, allocations: 36.06 kB / 1.043 GB, free: 133.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/2.657, allocations: 9.328 kB / 1.043 GB, free: 133.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/2.657, allocations: 181.6 kB / 1.043 GB, free: 133.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/2.657, allocations: 7.438 kB / 1.043 GB, free: 133.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/2.657, allocations: 2.938 kB / 1.043 GB, free: 133.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/2.658, allocations: 64.64 kB / 1.043 GB, free: 133 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/2.658, allocations: 0 / 1.043 GB, free: 133 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/2.658, allocations: 5.484 kB / 1.043 GB, free: 133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/2.658, allocations: 1.875 kB / 1.043 GB, free: 133 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/2.658, allocations: 17.88 kB / 1.043 GB, free: 133 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/2.658, allocations: 178 kB / 1.043 GB, free: 132.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/2.658, allocations: 77.58 kB / 1.043 GB, free: 132.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.961e-05/2.658, allocations: 22.06 kB / 1.043 GB, free: 132.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07646/2.735, allocations: 35.88 MB / 1.078 GB, free: 114.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/2.735, allocations: 37.91 kB / 1.078 GB, free: 114.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 3.727e-06/2.735, allocations: 0 / 1.078 GB, free: 114.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002927/2.735, allocations: 63.28 kB / 1.078 GB, free: 114.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/2.735, allocations: 84.47 kB / 1.079 GB, free: 114.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.193e-05/2.735, allocations: 99.38 kB / 1.079 GB, free: 114.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/2.735, allocations: 29.14 kB / 1.079 GB, free: 114.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/2.735, allocations: 86.44 kB / 1.079 GB, free: 114.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/2.736, allocations: 25.56 kB / 1.079 GB, free: 114 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/2.736, allocations: 0 / 1.079 GB, free: 114 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.334e-05/2.736, allocations: 322 kB / 1.079 GB, free: 113.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/2.736, allocations: 3.469 kB / 1.079 GB, free: 113.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/2.736, allocations: 27.22 kB / 1.079 GB, free: 113.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/2.736, allocations: 17.73 kB / 1.079 GB, free: 113.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/2.736, allocations: 0 / 1.079 GB, free: 113.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.918e-05/2.736, allocations: 58.27 kB / 1.079 GB, free: 113.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/2.736, allocations: 9.906 kB / 1.079 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/2.736, allocations: 6.844 kB / 1.079 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/2.736, allocations: 0 / 1.079 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/2.736, allocations: 10.97 kB / 1.079 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/2.736, allocations: 0 / 1.079 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/2.736, allocations: 11.11 kB / 1.079 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/2.736, allocations: 6.141 kB / 1.079 GB, free: 113.7 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 5.607e-05/2.736, allocations: 101 kB / 1.079 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/2.736, allocations: 7.062 kB / 1.079 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/2.736, allocations: 112.3 kB / 1.079 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/2.736, allocations: 0 / 1.079 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/2.736, allocations: 6.578 kB / 1.079 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/2.736, allocations: 0 / 1.079 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/2.737, allocations: 170.1 kB / 1.08 GB, free: 113.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/2.737, allocations: 7.812 kB / 1.08 GB, free: 113.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/2.737, allocations: 16.94 kB / 1.08 GB, free: 113.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/2.737, allocations: 3.344 kB / 1.08 GB, free: 113.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/2.737, allocations: 0 / 1.08 GB, free: 113.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/2.737, allocations: 0 / 1.08 GB, free: 113.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/2.737, allocations: 3.719 kB / 1.08 GB, free: 113.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/2.737, allocations: 101.6 kB / 1.08 GB, free: 113.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/2.737, allocations: 102 kB / 1.08 GB, free: 113.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/2.737, allocations: 3.844 kB / 1.08 GB, free: 113.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/2.737, allocations: 9.344 kB / 1.08 GB, free: 113.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/2.737, allocations: 7.109 kB / 1.08 GB, free: 113.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/2.737, allocations: 7.203 kB / 1.08 GB, free: 113.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.689e-05/2.737, allocations: 86.22 kB / 1.08 GB, free: 113 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/2.737, allocations: 0 / 1.08 GB, free: 113 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001295/2.738, allocations: 336.1 kB / 1.08 GB, free: 113 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.001841/2.74, allocations: 1.326 MB / 1.082 GB, free: 112.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/2.74, allocations: 28.22 kB / 1.082 GB, free: 112.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/2.74, allocations: 0 / 1.082 GB, free: 112.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/2.74, allocations: 21.16 kB / 1.082 GB, free: 112.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/2.741, allocations: 14.8 kB / 1.082 GB, free: 112.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006368/2.741, allocations: 310 kB / 1.082 GB, free: 111.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/2.741, allocations: 0.6833 MB / 1.083 GB, free: 111.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001134/2.741, allocations: 48.36 kB / 1.083 GB, free: 111.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/2.742, allocations: 23.88 kB / 1.083 GB, free: 111.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.192e-06/2.742, allocations: 0 / 1.083 GB, free: 111.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/2.77, allocations: 11.19 MB / 1.094 GB, free: 110.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/2.77, allocations: 151.4 kB / 1.094 GB, free: 110.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/5.151, allocations: 0 / 1.094 GB, free: 110.1 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat