Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001645/0.001645, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001175/0.001174, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4e-05/4.023e-05, allocations: 8 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 47.57 MB / 369.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.013/2.121, allocations: 0.6442 GB / 1.005 GB, free: 13.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/2.121, allocations: 90.94 kB / 1.005 GB, free: 13.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5693/2.691, allocations: 117.1 MB / 1.119 GB, free: 73.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/2.691, allocations: 0 / 1.119 GB, free: 73.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/2.691, allocations: 0 / 1.119 GB, free: 73.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.00138/2.692, allocations: 0.5649 MB / 1.12 GB, free: 73.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/2.692, allocations: 8.031 kB / 1.12 GB, free: 73.18 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/2.692, allocations: 30.56 kB / 1.12 GB, free: 73.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/2.692, allocations: 23.48 kB / 1.12 GB, free: 73.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/2.693, allocations: 182.9 kB / 1.12 GB, free: 72.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/2.693, allocations: 4 kB / 1.12 GB, free: 72.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/2.693, allocations: 3.953 kB / 1.12 GB, free: 72.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/2.693, allocations: 67.34 kB / 1.12 GB, free: 72.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.559e-06/2.693, allocations: 0 / 1.12 GB, free: 72.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/2.693, allocations: 0 / 1.12 GB, free: 72.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/2.693, allocations: 0 / 1.12 GB, free: 72.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/2.693, allocations: 19.98 kB / 1.12 GB, free: 72.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/2.693, allocations: 170.6 kB / 1.12 GB, free: 72.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/2.693, allocations: 77.33 kB / 1.12 GB, free: 72.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/2.693, allocations: 25.77 kB / 1.12 GB, free: 72.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1325/2.826, allocations: 35.87 MB / 1.155 GB, free: 33.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/2.826, allocations: 30.56 kB / 1.155 GB, free: 33.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.186e-06/2.826, allocations: 0 / 1.155 GB, free: 33.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003094/2.826, allocations: 69.59 kB / 1.155 GB, free: 33.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/2.826, allocations: 81.11 kB / 1.156 GB, free: 32.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/2.827, allocations: 108.9 kB / 1.156 GB, free: 32.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/2.827, allocations: 29.69 kB / 1.156 GB, free: 32.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/2.827, allocations: 154.6 kB / 1.156 GB, free: 32.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/2.827, allocations: 19.66 kB / 1.156 GB, free: 32.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/2.827, allocations: 0 / 1.156 GB, free: 32.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.104e-05/2.827, allocations: 318.8 kB / 1.156 GB, free: 32.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.071e-05/2.827, allocations: 7.938 kB / 1.156 GB, free: 32.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.957e-05/2.827, allocations: 29.7 kB / 1.156 GB, free: 32.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.714e-05/2.827, allocations: 8 kB / 1.156 GB, free: 32.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/2.827, allocations: 0 / 1.156 GB, free: 32.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001532/2.827, allocations: 65.61 kB / 1.156 GB, free: 32.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/2.827, allocations: 11.95 kB / 1.156 GB, free: 32.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/2.827, allocations: 0 / 1.156 GB, free: 32.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/2.827, allocations: 0 / 1.156 GB, free: 32.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/2.827, allocations: 8 kB / 1.156 GB, free: 32.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/2.827, allocations: 7.984 kB / 1.156 GB, free: 32.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.167e-05/2.827, allocations: 4 kB / 1.156 GB, free: 32.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/2.827, allocations: 4 kB / 1.156 GB, free: 32.12 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 () * 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.905e-05/2.828, allocations: 104.9 kB / 1.156 GB, free: 32.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/2.828, allocations: 7.906 kB / 1.156 GB, free: 32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/2.828, allocations: 101.9 kB / 1.156 GB, free: 31.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/2.828, allocations: 4 kB / 1.156 GB, free: 31.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/2.828, allocations: 4 kB / 1.157 GB, free: 31.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/2.828, allocations: 0 / 1.157 GB, free: 31.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/2.828, allocations: 173.5 kB / 1.157 GB, free: 31.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/2.828, allocations: 0 / 1.157 GB, free: 31.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/2.828, allocations: 15.94 kB / 1.157 GB, free: 31.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/2.828, allocations: 0 / 1.157 GB, free: 31.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/2.828, allocations: 3.984 kB / 1.157 GB, free: 31.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/2.828, allocations: 11.88 kB / 1.157 GB, free: 31.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/2.828, allocations: 0 / 1.157 GB, free: 31.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/2.828, allocations: 104 kB / 1.157 GB, free: 31.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/2.829, allocations: 93 kB / 1.157 GB, free: 31.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/2.829, allocations: 11.92 kB / 1.157 GB, free: 31.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/2.829, allocations: 8 kB / 1.157 GB, free: 31.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/2.829, allocations: 3.984 kB / 1.157 GB, free: 31.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/2.829, allocations: 7.938 kB / 1.157 GB, free: 31.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.279e-05/2.829, allocations: 95.27 kB / 1.157 GB, free: 31.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.829, allocations: 4 kB / 1.157 GB, free: 31.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001405/2.83, allocations: 335.6 kB / 1.157 GB, free: 30.94 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 () * 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.002608/2.833, allocations: 1.316 MB / 1.159 GB, free: 29.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/2.833, allocations: 35.92 kB / 1.159 GB, free: 29.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/2.833, allocations: 4 kB / 1.159 GB, free: 29.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.802e-05/2.833, allocations: 12 kB / 1.159 GB, free: 29.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/2.833, allocations: 11.94 kB / 1.159 GB, free: 29.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008776/2.834, allocations: 324.5 kB / 1.159 GB, free: 29.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/2.834, allocations: 0.6926 MB / 1.16 GB, free: 28.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.814e-05/2.835, allocations: 23.42 kB / 1.16 GB, free: 28.43 MB / 426.7 MB Notification: Performance of SimCode: time 8.51e-07/2.835, allocations: 0 / 1.16 GB, free: 28.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.754/5.589, allocations: 6.984 MB / 1.167 GB, free: 21.43 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat