Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001033/0.001033, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 227.2 MB / 245 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008377/0.0008377, allocations: 103.2 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002313/0.000231, allocations: 8 kB / 358 MB, free: 9.234 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2211, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.295, allocations: 0.5431 GB / 0.943 GB, free: 86.39 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/1.296, allocations: 75.95 kB / 0.9431 GB, free: 86.31 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3606/1.656, allocations: 117.6 MB / 1.058 GB, free: 148.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.425e-06/1.656, allocations: 3.969 kB / 1.058 GB, free: 148.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/1.656, allocations: 0 / 1.058 GB, free: 148.9 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.001257/1.658, allocations: 0.5818 MB / 1.059 GB, free: 148.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.658, allocations: 11.88 kB / 1.059 GB, free: 148.4 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/1.658, allocations: 34.5 kB / 1.059 GB, free: 148.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/1.658, allocations: 19.73 kB / 1.059 GB, free: 148.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/1.658, allocations: 168.2 kB / 1.059 GB, free: 148.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/1.658, allocations: 7.953 kB / 1.059 GB, free: 148.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/1.658, allocations: 3.969 kB / 1.059 GB, free: 148.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/1.658, allocations: 63.86 kB / 1.059 GB, free: 148.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.658, allocations: 3.938 kB / 1.059 GB, free: 148.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/1.658, allocations: 4 kB / 1.059 GB, free: 148.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.658, allocations: 3.969 kB / 1.059 GB, free: 148.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/1.658, allocations: 15.8 kB / 1.059 GB, free: 148.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/1.658, allocations: 174.1 kB / 1.059 GB, free: 147.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/1.659, allocations: 83.97 kB / 1.059 GB, free: 147.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07055/1.729, allocations: 35.42 MB / 1.094 GB, free: 115.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/1.729, allocations: 38.56 kB / 1.094 GB, free: 115 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 2.725e-06/1.729, allocations: 0 / 1.094 GB, free: 115 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.000352/1.73, allocations: 89.5 kB / 1.094 GB, free: 114.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/1.73, allocations: 77.11 kB / 1.094 GB, free: 114.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/1.73, allocations: 109 kB / 1.094 GB, free: 114.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.73, allocations: 25.7 kB / 1.094 GB, free: 114.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/1.73, allocations: 88.12 kB / 1.094 GB, free: 114.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/1.73, allocations: 27.64 kB / 1.094 GB, free: 114.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/1.73, allocations: 0 / 1.094 GB, free: 114.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.061e-05/1.73, allocations: 322.8 kB / 1.094 GB, free: 114.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-05/1.73, allocations: 11.98 kB / 1.094 GB, free: 114.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.923e-05/1.73, allocations: 22.59 kB / 1.094 GB, free: 114.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.026e-05/1.73, allocations: 11.98 kB / 1.095 GB, free: 114.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.73, allocations: 0 / 1.095 GB, free: 114.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001502/1.73, allocations: 69.61 kB / 1.095 GB, free: 114.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.73, allocations: 14.45 kB / 1.095 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.73, allocations: 7.609 kB / 1.095 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/1.73, allocations: 0 / 1.095 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/1.731, allocations: 11.98 kB / 1.095 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.731, allocations: 4 kB / 1.095 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/1.731, allocations: 0 / 1.095 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/1.731, allocations: 7.75 kB / 1.095 GB, free: 114.1 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 5.819e-05/1.731, allocations: 109.8 kB / 1.095 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/1.731, allocations: 7.906 kB / 1.095 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/1.731, allocations: 113.9 kB / 1.095 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.731, allocations: 4 kB / 1.095 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.731, allocations: 0 / 1.095 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.731, allocations: 0 / 1.095 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/1.731, allocations: 161.7 kB / 1.095 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.731, allocations: 4 kB / 1.095 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/1.731, allocations: 17.67 kB / 1.095 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.731, allocations: 4 kB / 1.095 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1.731, allocations: 7.938 kB / 1.095 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.731, allocations: 3.953 kB / 1.095 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.731, allocations: 0 / 1.095 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/1.731, allocations: 111.5 kB / 1.095 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/1.731, allocations: 93 kB / 1.095 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/1.731, allocations: 11.95 kB / 1.095 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/1.732, allocations: 3.984 kB / 1.095 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/1.732, allocations: 4 kB / 1.095 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/1.732, allocations: 7.984 kB / 1.095 GB, free: 113.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.585e-05/1.732, allocations: 87.28 kB / 1.095 GB, free: 113.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.732, allocations: 0 / 1.095 GB, free: 113.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00104/1.733, allocations: 339.5 kB / 1.096 GB, free: 112.9 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.002187/1.735, allocations: 1.337 MB / 1.097 GB, free: 111.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001555/1.735, allocations: 31.98 kB / 1.097 GB, free: 111.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.735, allocations: 0 / 1.097 GB, free: 111.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.367e-05/1.735, allocations: 27.92 kB / 1.097 GB, free: 111.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/1.735, allocations: 11.98 kB / 1.097 GB, free: 111.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/1.737, allocations: 0.8067 MB / 1.098 GB, free: 110.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/1.737, allocations: 0.6887 MB / 1.098 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/1.737, allocations: 44.08 kB / 1.099 GB, free: 109.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/1.737, allocations: 27.41 kB / 1.099 GB, free: 109.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/1.737, allocations: 0 / 1.099 GB, free: 109.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/1.762, allocations: 10.83 MB / 1.109 GB, free: 99.12 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/1.762, allocations: 179 kB / 1.109 GB, free: 98.88 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/3.888, allocations: 0 / 1.109 GB, free: 98.88 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat