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.001916/0.001916, allocations: 175.6 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.001129/0.001129, allocations: 90.17 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.07e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1434, allocations: 50.41 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.04/17.18, allocations: 6.136 GB / 6.515 GB, free: 81.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/17.18, allocations: 75.36 kB / 6.515 GB, free: 81.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6605/17.84, allocations: 189.3 MB / 6.7 GB, free: 69.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.374e-06/17.84, allocations: 4 kB / 6.7 GB, free: 69.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/17.84, allocations: 0 / 6.7 GB, free: 69.01 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.005874/17.85, allocations: 1.098 MB / 6.701 GB, free: 67.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/17.85, allocations: 12.03 kB / 6.701 GB, free: 67.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/17.85, allocations: 4 kB / 6.701 GB, free: 67.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/17.85, allocations: 194.3 kB / 6.701 GB, free: 67.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/17.85, allocations: 3.953 kB / 6.701 GB, free: 67.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/17.85, allocations: 4 kB / 6.701 GB, free: 67.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.524e-05/17.85, allocations: 27.45 kB / 6.701 GB, free: 67.65 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/17.85, allocations: 66.91 kB / 6.701 GB, free: 67.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/17.85, allocations: 0 / 6.701 GB, free: 67.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/17.85, allocations: 4 kB / 6.701 GB, free: 67.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/17.85, allocations: 4 kB / 6.701 GB, free: 67.57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/17.85, allocations: 165.6 kB / 6.701 GB, free: 67.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/17.85, allocations: 91.03 kB / 6.701 GB, free: 67.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.201e-05/17.85, allocations: 29.62 kB / 6.701 GB, free: 67.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.051e-05/17.85, allocations: 15.94 kB / 6.701 GB, free: 67.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/17.85, allocations: 42.36 kB / 6.702 GB, free: 67.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/17.85, allocations: 0 / 6.702 GB, free: 67.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007888/17.85, allocations: 161.5 kB / 6.702 GB, free: 67.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/17.85, allocations: 77.11 kB / 6.702 GB, free: 66.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/17.85, allocations: 120.1 kB / 6.702 GB, free: 66.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/17.85, allocations: 29.7 kB / 6.702 GB, free: 66.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/17.85, allocations: 90.86 kB / 6.702 GB, free: 66.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/17.85, allocations: 15.75 kB / 6.702 GB, free: 66.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-06/17.85, allocations: 0 / 6.702 GB, free: 66.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.01e-05/17.85, allocations: 317.9 kB / 6.702 GB, free: 66.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.94e-05/17.85, allocations: 15.28 kB / 6.702 GB, free: 66.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.639e-05/17.85, allocations: 28.8 kB / 6.702 GB, free: 66.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/17.85, allocations: 106.1 kB / 6.702 GB, free: 66.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/17.85, allocations: 3.938 kB / 6.702 GB, free: 66.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005427/17.85, allocations: 167.5 kB / 6.703 GB, free: 66.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/17.85, allocations: 4 kB / 6.703 GB, free: 66.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/17.85, allocations: 4 kB / 6.703 GB, free: 66.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/17.85, allocations: 3.953 kB / 6.703 GB, free: 66.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.769e-05/17.85, allocations: 11.84 kB / 6.703 GB, free: 66.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/17.85, allocations: 4 kB / 6.703 GB, free: 66.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/17.85, allocations: 0 / 6.703 GB, free: 66.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/17.85, allocations: 4 kB / 6.703 GB, free: 66.13 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.294e-05/17.85, allocations: 101 kB / 6.703 GB, free: 66.02 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005416/17.85, allocations: 171 kB / 6.703 GB, free: 65.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/17.85, allocations: 7.953 kB / 6.703 GB, free: 65.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006364/17.86, allocations: 197.2 kB / 6.703 GB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/17.86, allocations: 3.703 kB / 6.703 GB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/17.86, allocations: 0 / 6.703 GB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/17.86, allocations: 0 / 6.703 GB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/17.86, allocations: 145.6 kB / 6.703 GB, free: 65.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/17.86, allocations: 0 / 6.703 GB, free: 65.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/17.86, allocations: 15.7 kB / 6.703 GB, free: 65.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/17.86, allocations: 0 / 6.703 GB, free: 65.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/17.86, allocations: 4 kB / 6.703 GB, free: 65.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/17.86, allocations: 11.89 kB / 6.703 GB, free: 65.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/17.86, allocations: 0 / 6.703 GB, free: 65.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/17.86, allocations: 208.4 kB / 6.703 GB, free: 65.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.349e-05/17.86, allocations: 88.52 kB / 6.704 GB, free: 65.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/17.86, allocations: 7.953 kB / 6.704 GB, free: 65.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/17.86, allocations: 10.75 kB / 6.704 GB, free: 65.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/17.86, allocations: 11.75 kB / 6.704 GB, free: 65.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/17.86, allocations: 4 kB / 6.704 GB, free: 65.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.084e-05/17.86, allocations: 102.8 kB / 6.704 GB, free: 65.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/17.86, allocations: 0 / 6.704 GB, free: 65.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005558/17.86, allocations: 0.9813 MB / 6.705 GB, free: 64.17 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.006953/17.87, allocations: 2.198 MB / 6.707 GB, free: 62.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/17.87, allocations: 43.11 kB / 6.707 GB, free: 62.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/17.87, allocations: 4 kB / 6.707 GB, free: 62.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/17.87, allocations: 20 kB / 6.707 GB, free: 62.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/17.87, allocations: 17.48 kB / 6.707 GB, free: 62.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/17.87, allocations: 0.53 MB / 6.707 GB, free: 61.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/17.87, allocations: 0.6879 MB / 6.708 GB, free: 60.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.483e-05/17.87, allocations: 18.66 kB / 6.708 GB, free: 60.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/17.87, allocations: 19.44 kB / 6.708 GB, free: 60.87 MB / 442.7 MB Notification: Performance of SimCode: time 3.01e-07/17.87, allocations: 3.938 kB / 6.708 GB, free: 60.87 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05329/17.93, allocations: 26.92 MB / 6.734 GB, free: 34.82 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/17.93, allocations: 168.7 kB / 6.735 GB, free: 34.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/21.05, allocations: 0 / 6.735 GB, free: 34.63 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