Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 223.1 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009027/0.0009027, allocations: 97.64 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2359, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/1.53, allocations: 0.6443 GB / 1.011 GB, free: 143.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/1.531, allocations: 79.97 kB / 1.012 GB, free: 143.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1592/1.69, allocations: 117.2 MB / 1.126 GB, free: 28.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.69, allocations: 0 / 1.126 GB, free: 28.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/1.69, allocations: 0 / 1.126 GB, free: 28.8 MB / 426.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.001143/1.691, allocations: 0.5806 MB / 1.127 GB, free: 28.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.691, allocations: 8.031 kB / 1.127 GB, free: 28.16 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/1.691, allocations: 38.56 kB / 1.127 GB, free: 28.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/1.691, allocations: 11.89 kB / 1.127 GB, free: 28.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/1.691, allocations: 178.9 kB / 1.127 GB, free: 27.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/1.692, allocations: 4 kB / 1.127 GB, free: 27.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/1.692, allocations: 3.953 kB / 1.127 GB, free: 27.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/1.692, allocations: 71.39 kB / 1.127 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.692, allocations: 0 / 1.127 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/1.692, allocations: 3.984 kB / 1.127 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.692, allocations: 0 / 1.127 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.783e-05/1.692, allocations: 23.92 kB / 1.127 GB, free: 27.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/1.692, allocations: 178.5 kB / 1.127 GB, free: 27.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/1.692, allocations: 77.22 kB / 1.127 GB, free: 27.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2948/1.987, allocations: 35.4 MB / 1.162 GB, free: 127.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.566e-05/1.987, allocations: 39.14 kB / 1.162 GB, free: 127.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 5.19e-06/1.987, allocations: 0 / 1.162 GB, free: 127.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005043/1.988, allocations: 76.97 kB / 1.162 GB, free: 127.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/1.988, allocations: 92.39 kB / 1.162 GB, free: 127.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/1.988, allocations: 100.7 kB / 1.162 GB, free: 127.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/1.988, allocations: 31.08 kB / 1.162 GB, free: 127.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/1.988, allocations: 83.52 kB / 1.162 GB, free: 127.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.434e-05/1.988, allocations: 17.44 kB / 1.162 GB, free: 127.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/1.988, allocations: 1.219 kB / 1.162 GB, free: 127.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.737e-05/1.988, allocations: 319.6 kB / 1.162 GB, free: 126.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/1.988, allocations: 10.34 kB / 1.162 GB, free: 126.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/1.988, allocations: 26.44 kB / 1.162 GB, free: 126.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.033e-05/1.988, allocations: 17.34 kB / 1.162 GB, free: 126.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.988, allocations: 5.203 kB / 1.162 GB, free: 126.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001507/1.989, allocations: 67.16 kB / 1.163 GB, free: 126.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.989, allocations: 5.469 kB / 1.163 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.989, allocations: 1.312 kB / 1.163 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.989, allocations: 2.25 kB / 1.163 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/1.989, allocations: 28.28 kB / 1.163 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/1.989, allocations: 1.25 kB / 1.163 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/1.989, allocations: 1.219 kB / 1.163 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/1.989, allocations: 2.406 kB / 1.163 GB, free: 126.7 MB / 426.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.74e-05/1.989, allocations: 116.5 kB / 1.163 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/1.989, allocations: 2.781 kB / 1.163 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/1.989, allocations: 119.2 kB / 1.163 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.989, allocations: 1 kB / 1.163 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.989, allocations: 0 / 1.163 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.989, allocations: 1.125 kB / 1.163 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/1.99, allocations: 170.6 kB / 1.163 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.99, allocations: 3.797 kB / 1.163 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/1.99, allocations: 10.28 kB / 1.163 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/1.99, allocations: 1.281 kB / 1.163 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/1.99, allocations: 5.219 kB / 1.163 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/1.99, allocations: 1.312 kB / 1.163 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.99, allocations: 0 / 1.163 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/1.99, allocations: 116.1 kB / 1.163 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/1.99, allocations: 88.25 kB / 1.163 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/1.99, allocations: 1.406 kB / 1.163 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/1.99, allocations: 13.75 kB / 1.163 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/1.99, allocations: 6.25 kB / 1.163 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/1.99, allocations: 6.062 kB / 1.163 GB, free: 126.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.732e-05/1.99, allocations: 91.84 kB / 1.163 GB, free: 126.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.99, allocations: 0 / 1.163 GB, free: 126.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001274/1.991, allocations: 337.5 kB / 1.164 GB, free: 126.1 MB / 426.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.002127/1.994, allocations: 1.339 MB / 1.165 GB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001737/1.994, allocations: 36.86 kB / 1.165 GB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.994, allocations: 0 / 1.165 GB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.381e-05/1.994, allocations: 23.3 kB / 1.165 GB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/1.994, allocations: 15.59 kB / 1.165 GB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/1.995, allocations: 0.8112 MB / 1.166 GB, free: 124.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/1.995, allocations: 0.6891 MB / 1.166 GB, free: 124.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001242/1.995, allocations: 47.81 kB / 1.166 GB, free: 124.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/1.996, allocations: 22.83 kB / 1.167 GB, free: 124.1 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/1.996, allocations: 3.938 kB / 1.167 GB, free: 124.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/2.022, allocations: 10.82 MB / 1.177 GB, free: 123.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/2.022, allocations: 184 kB / 1.177 GB, free: 122.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/4.18, allocations: 7.938 kB / 1.177 GB, free: 122.9 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat