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.001288/0.001288, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.45/1.45, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.00113/0.00113, allocations: 92.78 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.000265, allocations: 4 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2673, allocations: 50.39 MB / 401.6 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.441, allocations: 0.5424 GB / 0.9345 GB, free: 108 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.441, allocations: 73.25 kB / 0.9346 GB, free: 107.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.401/1.842, allocations: 117.6 MB / 1.049 GB, free: 158.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.975e-06/1.842, allocations: 0 / 1.049 GB, free: 158.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/1.842, allocations: 0 / 1.049 GB, free: 158.1 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.001269/1.844, allocations: 0.5817 MB / 1.05 GB, free: 157.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.464e-05/1.844, allocations: 7.906 kB / 1.05 GB, free: 157.6 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/1.844, allocations: 37.56 kB / 1.05 GB, free: 157.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/1.844, allocations: 15.23 kB / 1.05 GB, free: 157.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/1.844, allocations: 175.9 kB / 1.05 GB, free: 157.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/1.844, allocations: 3.906 kB / 1.05 GB, free: 157.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/1.844, allocations: 0 / 1.05 GB, free: 157.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/1.844, allocations: 70.05 kB / 1.05 GB, free: 157.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/1.844, allocations: 0 / 1.05 GB, free: 157.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.844, allocations: 9.297 kB / 1.05 GB, free: 157.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/1.844, allocations: 0 / 1.05 GB, free: 157.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.924e-05/1.844, allocations: 22.92 kB / 1.05 GB, free: 157.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/1.845, allocations: 170.6 kB / 1.05 GB, free: 157.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/1.845, allocations: 81.39 kB / 1.051 GB, free: 157 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07163/1.916, allocations: 35.42 MB / 1.085 GB, free: 136.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/1.917, allocations: 42 kB / 1.085 GB, free: 136.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 2.996e-06/1.917, allocations: 0 / 1.085 GB, free: 136.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004071/1.917, allocations: 79.17 kB / 1.085 GB, free: 136.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/1.917, allocations: 88.67 kB / 1.085 GB, free: 136.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.489e-05/1.917, allocations: 108.9 kB / 1.085 GB, free: 136.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/1.917, allocations: 25.7 kB / 1.085 GB, free: 136.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/1.917, allocations: 88.14 kB / 1.086 GB, free: 136 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/1.917, allocations: 15.66 kB / 1.086 GB, free: 136 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/1.917, allocations: 8 kB / 1.086 GB, free: 136 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.261e-05/1.917, allocations: 318.5 kB / 1.086 GB, free: 135.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/1.917, allocations: 11.94 kB / 1.086 GB, free: 135.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.118e-05/1.917, allocations: 25.27 kB / 1.086 GB, free: 135.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.514e-05/1.917, allocations: 15.7 kB / 1.086 GB, free: 135.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.917, allocations: 0 / 1.086 GB, free: 135.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001541/1.918, allocations: 69.39 kB / 1.086 GB, free: 135.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.918, allocations: 8 kB / 1.086 GB, free: 135.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.918, allocations: 3.938 kB / 1.086 GB, free: 135.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.918, allocations: 2.906 kB / 1.086 GB, free: 135.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/1.918, allocations: 8 kB / 1.086 GB, free: 135.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/1.918, allocations: 4 kB / 1.086 GB, free: 135.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.561e-05/1.918, allocations: 7.891 kB / 1.086 GB, free: 135.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/1.918, allocations: 4 kB / 1.086 GB, free: 135.6 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.28e-05/1.918, allocations: 109.8 kB / 1.086 GB, free: 135.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/1.918, allocations: 11.91 kB / 1.086 GB, free: 135.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/1.918, allocations: 108.7 kB / 1.086 GB, free: 135.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.918, allocations: 0 / 1.086 GB, free: 135.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.918, allocations: 0 / 1.086 GB, free: 135.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.918, allocations: 0 / 1.086 GB, free: 135.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/1.918, allocations: 176.8 kB / 1.086 GB, free: 135.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.918, allocations: 4 kB / 1.086 GB, free: 135.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/1.919, allocations: 14.94 kB / 1.086 GB, free: 135.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/1.919, allocations: 0 / 1.086 GB, free: 135.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/1.919, allocations: 4 kB / 1.086 GB, free: 135.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.919, allocations: 0 / 1.086 GB, free: 135.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.919, allocations: 0 / 1.086 GB, free: 135.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/1.919, allocations: 118.2 kB / 1.087 GB, free: 135 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/1.919, allocations: 92.05 kB / 1.087 GB, free: 134.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/1.919, allocations: 4 kB / 1.087 GB, free: 134.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/1.919, allocations: 4 kB / 1.087 GB, free: 134.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/1.919, allocations: 7.656 kB / 1.087 GB, free: 134.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/1.919, allocations: 9.906 kB / 1.087 GB, free: 134.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.396e-05/1.919, allocations: 95.03 kB / 1.087 GB, free: 134.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.919, allocations: 0 / 1.087 GB, free: 134.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001306/1.92, allocations: 334.1 kB / 1.087 GB, free: 134.5 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.002509/1.923, allocations: 1.325 MB / 1.088 GB, free: 133.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001726/1.923, allocations: 37.94 kB / 1.088 GB, free: 133.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.923, allocations: 0 / 1.088 GB, free: 133.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.781e-05/1.923, allocations: 23.22 kB / 1.088 GB, free: 133.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/1.923, allocations: 18.81 kB / 1.088 GB, free: 133.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/1.925, allocations: 0.8119 MB / 1.089 GB, free: 132.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/1.925, allocations: 0.6886 MB / 1.09 GB, free: 131.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000132/1.925, allocations: 46.19 kB / 1.09 GB, free: 131.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/1.925, allocations: 24.73 kB / 1.09 GB, free: 131.6 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/1.925, allocations: 4 kB / 1.09 GB, free: 131.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/1.953, allocations: 10.82 MB / 1.101 GB, free: 123.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/1.953, allocations: 175.3 kB / 1.101 GB, free: 122.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/4.027, allocations: 4 kB / 1.101 GB, free: 122.9 MB / 458.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