Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 180.5 kB / 16.38 MB, free: 5.762 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.436/1.436, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 99.12 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003117, allocations: 8 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2862, allocations: 50.41 MB / 401.6 MB, free: 32.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.15/13.44, allocations: 6.137 GB / 6.529 GB, free: 134.6 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/13.44, allocations: 80.58 kB / 6.529 GB, free: 134.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.637/14.08, allocations: 192.7 MB / 6.718 GB, free: 88.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.784e-06/14.08, allocations: 0 / 6.718 GB, free: 88.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/14.08, allocations: 0 / 6.718 GB, free: 88.36 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.004713/14.08, allocations: 1.109 MB / 6.719 GB, free: 87.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/14.08, allocations: 11.41 kB / 6.719 GB, free: 87.68 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/14.08, allocations: 34.12 kB / 6.719 GB, free: 87.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/14.08, allocations: 11.62 kB / 6.719 GB, free: 87.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/14.08, allocations: 189.3 kB / 6.719 GB, free: 87.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/14.08, allocations: 7.578 kB / 6.719 GB, free: 87.44 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/14.08, allocations: 7.062 kB / 6.719 GB, free: 87.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/14.08, allocations: 72.62 kB / 6.719 GB, free: 87.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/14.08, allocations: 3.562 kB / 6.719 GB, free: 87.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/14.08, allocations: 3.469 kB / 6.719 GB, free: 87.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/14.08, allocations: 0 / 6.719 GB, free: 87.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/14.08, allocations: 33.66 kB / 6.719 GB, free: 87.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/14.08, allocations: 193.2 kB / 6.719 GB, free: 87.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/14.08, allocations: 100.5 kB / 6.719 GB, free: 87.13 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-05/14.08, allocations: 14.67 kB / 6.719 GB, free: 87.13 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/14.08, allocations: 39.31 kB / 6.719 GB, free: 87.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/14.08, allocations: 0 / 6.719 GB, free: 87.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003286/14.08, allocations: 104.4 kB / 6.719 GB, free: 87.06 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/14.08, allocations: 81.11 kB / 6.72 GB, free: 86.96 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.538e-05/14.08, allocations: 124.9 kB / 6.72 GB, free: 86.87 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/14.08, allocations: 26.55 kB / 6.72 GB, free: 86.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/14.08, allocations: 90.2 kB / 6.72 GB, free: 86.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/14.08, allocations: 18.66 kB / 6.72 GB, free: 86.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/14.08, allocations: 3.656 kB / 6.72 GB, free: 86.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/14.08, allocations: 317.9 kB / 6.72 GB, free: 86.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.603e-05/14.08, allocations: 19.16 kB / 6.72 GB, free: 86.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-05/14.08, allocations: 30.58 kB / 6.72 GB, free: 86.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.968e-05/14.08, allocations: 21.12 kB / 6.72 GB, free: 86.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/14.08, allocations: 3.781 kB / 6.72 GB, free: 86.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000163/14.08, allocations: 77.16 kB / 6.72 GB, free: 86.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/14.08, allocations: 10.67 kB / 6.72 GB, free: 86.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/14.08, allocations: 0 / 6.72 GB, free: 86.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/14.08, allocations: 0 / 6.72 GB, free: 86.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/14.08, allocations: 18 kB / 6.72 GB, free: 86.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/14.08, allocations: 3.656 kB / 6.72 GB, free: 86.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/14.08, allocations: 3.906 kB / 6.72 GB, free: 86.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/14.08, allocations: 3.531 kB / 6.72 GB, free: 86.37 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 () * 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 7.263e-05/14.08, allocations: 115.2 kB / 6.72 GB, free: 86.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/14.08, allocations: 11 kB / 6.72 GB, free: 86.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/14.09, allocations: 112.5 kB / 6.721 GB, free: 86.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/14.09, allocations: 4 kB / 6.721 GB, free: 86.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/14.09, allocations: 0 / 6.721 GB, free: 86.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/14.09, allocations: 3.938 kB / 6.721 GB, free: 86.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/14.09, allocations: 172.4 kB / 6.721 GB, free: 86.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/14.09, allocations: 3.938 kB / 6.721 GB, free: 86.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/14.09, allocations: 13.89 kB / 6.721 GB, free: 86.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/14.09, allocations: 0 / 6.721 GB, free: 86.01 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/14.09, allocations: 6.375 kB / 6.721 GB, free: 86.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/14.09, allocations: 3.953 kB / 6.721 GB, free: 86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/14.09, allocations: 0 / 6.721 GB, free: 86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/14.09, allocations: 126.9 kB / 6.721 GB, free: 85.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/14.09, allocations: 99.64 kB / 6.721 GB, free: 85.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/14.09, allocations: 7.703 kB / 6.721 GB, free: 85.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/14.09, allocations: 3.656 kB / 6.721 GB, free: 85.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/14.09, allocations: 12.58 kB / 6.721 GB, free: 85.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/14.09, allocations: 7.719 kB / 6.721 GB, free: 85.81 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.949e-05/14.09, allocations: 110.1 kB / 6.721 GB, free: 85.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/14.09, allocations: 0 / 6.721 GB, free: 85.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004843/14.09, allocations: 0.9914 MB / 6.722 GB, free: 85.58 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 () * 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.006141/14.1, allocations: 2.092 MB / 6.724 GB, free: 84.65 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002038/14.1, allocations: 44.98 kB / 6.724 GB, free: 84.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/14.1, allocations: 3.844 kB / 6.724 GB, free: 84.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/14.1, allocations: 28.92 kB / 6.724 GB, free: 84.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/14.1, allocations: 22.88 kB / 6.724 GB, free: 84.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/14.1, allocations: 1.151 MB / 6.725 GB, free: 83.94 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/14.1, allocations: 0.6871 MB / 6.726 GB, free: 83.24 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.208e-05/14.1, allocations: 13.19 kB / 6.726 GB, free: 83.24 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/14.1, allocations: 23.75 kB / 6.726 GB, free: 83.23 MB / 458.7 MB Notification: Performance of SimCode: time 4.61e-07/14.1, allocations: 0 / 6.726 GB, free: 83.23 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04983/14.15, allocations: 29.01 MB / 6.754 GB, free: 81.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/14.15, allocations: 217.6 kB / 6.755 GB, free: 81.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/16.84, allocations: 0 / 6.755 GB, free: 81.16 MB / 458.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat