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.001469/0.001469, allocations: 174.8 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.645/1.645, allocations: 221.3 MB / 235.5 MB, free: 2.953 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.001168/0.001168, allocations: 95.53 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.521e-05/4.525e-05, allocations: 4 kB / 343.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1465, allocations: 50.42 MB / 394.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.55/17.7, allocations: 6.137 GB / 6.522 GB, free: 77.51 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/17.7, allocations: 71.97 kB / 6.522 GB, free: 77.44 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8013/18.5, allocations: 192.5 MB / 6.71 GB, free: 58.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.12e-07/18.5, allocations: 0 / 6.71 GB, free: 58.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/18.5, allocations: 0 / 6.71 GB, free: 58.03 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.00588/18.5, allocations: 1.095 MB / 6.711 GB, free: 56.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/18.5, allocations: 16.03 kB / 6.711 GB, free: 56.92 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/18.5, allocations: 30.56 kB / 6.711 GB, free: 56.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/18.5, allocations: 7.797 kB / 6.711 GB, free: 56.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/18.5, allocations: 190.3 kB / 6.712 GB, free: 56.65 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/18.5, allocations: 7.953 kB / 6.712 GB, free: 56.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/18.5, allocations: 3.984 kB / 6.712 GB, free: 56.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/18.5, allocations: 70.91 kB / 6.712 GB, free: 56.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/18.5, allocations: 3.938 kB / 6.712 GB, free: 56.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/18.5, allocations: 4 kB / 6.712 GB, free: 56.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/18.5, allocations: 4 kB / 6.712 GB, free: 56.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.923e-05/18.5, allocations: 27.22 kB / 6.712 GB, free: 56.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/18.51, allocations: 180.7 kB / 6.712 GB, free: 56.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/18.51, allocations: 103.4 kB / 6.712 GB, free: 56.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/18.51, allocations: 33.44 kB / 6.712 GB, free: 56.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-05/18.51, allocations: 11.98 kB / 6.712 GB, free: 56.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/18.51, allocations: 37.28 kB / 6.712 GB, free: 56.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/18.51, allocations: 4 kB / 6.712 GB, free: 56.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002319/18.51, allocations: 80.47 kB / 6.712 GB, free: 56.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/18.51, allocations: 81.11 kB / 6.712 GB, free: 55.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/18.51, allocations: 120.5 kB / 6.712 GB, free: 55.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/18.51, allocations: 37.7 kB / 6.712 GB, free: 55.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/18.51, allocations: 80.14 kB / 6.712 GB, free: 55.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/18.51, allocations: 19.38 kB / 6.712 GB, free: 55.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-06/18.51, allocations: 0 / 6.712 GB, free: 55.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.003e-05/18.51, allocations: 318.8 kB / 6.713 GB, free: 55.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.55e-05/18.51, allocations: 16.31 kB / 6.713 GB, free: 55.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/18.51, allocations: 29.05 kB / 6.713 GB, free: 55.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/18.51, allocations: 15.84 kB / 6.713 GB, free: 55.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/18.51, allocations: 4 kB / 6.713 GB, free: 55.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001183/18.51, allocations: 92.92 kB / 6.713 GB, free: 55.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/18.51, allocations: 4 kB / 6.713 GB, free: 55.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/18.51, allocations: 3.938 kB / 6.713 GB, free: 55.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/18.51, allocations: 0 / 6.713 GB, free: 55.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.345e-05/18.51, allocations: 15.56 kB / 6.713 GB, free: 55.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/18.51, allocations: 0 / 6.713 GB, free: 55.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/18.51, allocations: 4.125 kB / 6.713 GB, free: 55.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/18.51, allocations: 4 kB / 6.713 GB, free: 55.2 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.957e-05/18.51, allocations: 113 kB / 6.713 GB, free: 55.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/18.51, allocations: 15.84 kB / 6.713 GB, free: 55.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/18.51, allocations: 97.83 kB / 6.713 GB, free: 54.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/18.51, allocations: 4 kB / 6.713 GB, free: 54.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/18.51, allocations: 0 / 6.713 GB, free: 54.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/18.51, allocations: 0 / 6.713 GB, free: 54.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/18.51, allocations: 172.5 kB / 6.713 GB, free: 54.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/18.51, allocations: 0 / 6.713 GB, free: 54.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/18.51, allocations: 15.66 kB / 6.713 GB, free: 54.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/18.51, allocations: 4 kB / 6.713 GB, free: 54.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/18.51, allocations: 7.891 kB / 6.713 GB, free: 54.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/18.51, allocations: 5.188 kB / 6.713 GB, free: 54.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/18.51, allocations: 0 / 6.713 GB, free: 54.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/18.51, allocations: 118.5 kB / 6.713 GB, free: 54.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.248e-05/18.51, allocations: 100.4 kB / 6.714 GB, free: 54.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/18.51, allocations: 3.953 kB / 6.714 GB, free: 54.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/18.51, allocations: 8 kB / 6.714 GB, free: 54.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/18.51, allocations: 7.609 kB / 6.714 GB, free: 54.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/18.51, allocations: 11.81 kB / 6.714 GB, free: 54.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.045e-05/18.51, allocations: 102.8 kB / 6.714 GB, free: 54.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.373e-06/18.51, allocations: 0 / 6.714 GB, free: 54.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005562/18.51, allocations: 0.9997 MB / 6.715 GB, free: 53.41 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.008948/18.52, allocations: 2.083 MB / 6.717 GB, free: 51.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002036/18.52, allocations: 43.92 kB / 6.717 GB, free: 51.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/18.52, allocations: 0 / 6.717 GB, free: 51.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.427e-05/18.52, allocations: 31.92 kB / 6.717 GB, free: 51.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/18.52, allocations: 15.98 kB / 6.717 GB, free: 51.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/18.53, allocations: 0.5344 MB / 6.717 GB, free: 50.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/18.53, allocations: 0.6887 MB / 6.718 GB, free: 50.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.834e-05/18.53, allocations: 19.56 kB / 6.718 GB, free: 50.03 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/18.53, allocations: 19.44 kB / 6.718 GB, free: 50.01 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/18.53, allocations: 0 / 6.718 GB, free: 50.01 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05313/18.58, allocations: 30.23 MB / 6.747 GB, free: 19.88 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/18.58, allocations: 191.4 kB / 6.748 GB, free: 19.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.792/21.37, allocations: 4 kB / 6.748 GB, free: 19.66 MB / 442.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