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_TX.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_TX,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 186.5 kB / 16.41 MB, free: 5.727 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.93/1.93, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001213/0.001212, allocations: 101.4 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.000393, allocations: 8 kB / 327.1 MB, free: 120 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3349, allocations: 47.57 MB / 374.6 MB, free: 45.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.58/19.91, allocations: 6.612 GB / 6.978 GB, free: 8.195 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/19.92, allocations: 74.72 kB / 6.978 GB, free: 8.156 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9967/20.91, allocations: 179.7 MB / 7.153 GB, free: 3.363 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/20.91, allocations: 0 / 7.153 GB, free: 3.363 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.24e-05/20.91, allocations: 4 kB / 7.153 GB, free: 3.359 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.005371/20.92, allocations: 1.099 MB / 7.154 GB, free: 2.211 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/20.92, allocations: 12.03 kB / 7.154 GB, free: 2.199 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/20.92, allocations: 34.55 kB / 7.154 GB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/20.92, allocations: 11.95 kB / 7.154 GB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/20.92, allocations: 190.9 kB / 7.154 GB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/20.92, allocations: 3.984 kB / 7.154 GB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/20.92, allocations: 4 kB / 7.154 GB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/20.92, allocations: 71.33 kB / 7.155 GB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/20.92, allocations: 0 / 7.155 GB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/20.92, allocations: 0 / 7.155 GB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/20.92, allocations: 4 kB / 7.155 GB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/20.92, allocations: 39.95 kB / 7.155 GB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/20.92, allocations: 186.5 kB / 7.155 GB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/20.92, allocations: 109.2 kB / 7.155 GB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.176e-05/20.92, allocations: 12 kB / 7.155 GB, free: 1.414 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/20.92, allocations: 38.56 kB / 7.155 GB, free: 1.367 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/20.92, allocations: 0 / 7.155 GB, free: 1.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004619/20.92, allocations: 101.7 kB / 7.155 GB, free: 1.262 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/20.92, allocations: 81.11 kB / 7.155 GB, free: 1.164 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/20.92, allocations: 129.1 kB / 7.155 GB, free: 1.027 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/20.92, allocations: 25.7 kB / 7.155 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/20.92, allocations: 158.6 kB / 7.155 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/20.92, allocations: 23.64 kB / 7.155 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/20.92, allocations: 4 kB / 7.155 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/20.92, allocations: 314.8 kB / 7.156 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/20.92, allocations: 16.36 kB / 7.156 GB, free: 492 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/20.92, allocations: 33.69 kB / 7.156 GB, free: 452 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/20.92, allocations: 19.98 kB / 7.156 GB, free: 432 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/20.92, allocations: 4 kB / 7.156 GB, free: 428 kB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002919/20.92, allocations: 81.53 kB / 7.156 GB, free: 340 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/20.92, allocations: 8 kB / 7.156 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/20.92, allocations: 0 / 7.156 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/20.92, allocations: 0 / 7.156 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/20.92, allocations: 19.98 kB / 7.156 GB, free: 312 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/20.92, allocations: 3.984 kB / 7.156 GB, free: 308 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.222e-05/20.92, allocations: 3.906 kB / 7.156 GB, free: 304 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/20.92, allocations: 4 kB / 7.156 GB, free: 300 kB / 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 8.312e-05/20.92, allocations: 117.8 kB / 7.156 GB, free: 172 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/20.92, allocations: 8 kB / 7.156 GB, free: 164 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/20.92, allocations: 109.4 kB / 7.156 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/20.92, allocations: 0 / 7.156 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/20.92, allocations: 0 / 7.156 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/20.92, allocations: 0.5625 kB / 7.156 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2996/21.22, allocations: 173.1 kB / 7.156 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/21.22, allocations: 0 / 7.156 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/21.22, allocations: 17.06 kB / 7.156 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/21.22, allocations: 0 / 7.156 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/21.22, allocations: 10.84 kB / 7.156 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/21.22, allocations: 0 / 7.156 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/21.22, allocations: 0.9844 kB / 7.156 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/21.22, allocations: 132.5 kB / 7.156 GB, free: 78.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.646e-05/21.22, allocations: 97.28 kB / 7.157 GB, free: 78.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/21.22, allocations: 4.438 kB / 7.157 GB, free: 78.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/21.22, allocations: 0.875 kB / 7.157 GB, free: 78.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/21.22, allocations: 8.125 kB / 7.157 GB, free: 78.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/21.22, allocations: 5.094 kB / 7.157 GB, free: 78.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001002/21.22, allocations: 108.5 kB / 7.157 GB, free: 78.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.453e-06/21.22, allocations: 0 / 7.157 GB, free: 78.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005159/21.23, allocations: 0.9847 MB / 7.158 GB, free: 78.8 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.01066/21.24, allocations: 2.101 MB / 7.16 GB, free: 78.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000327/21.24, allocations: 44.09 kB / 7.16 GB, free: 78.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/21.24, allocations: 0 / 7.16 GB, free: 78.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/21.24, allocations: 30.08 kB / 7.16 GB, free: 78.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/21.24, allocations: 19.22 kB / 7.16 GB, free: 78.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/21.24, allocations: 1.158 MB / 7.161 GB, free: 77.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/21.24, allocations: 0.6891 MB / 7.162 GB, free: 92.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/21.24, allocations: 29.2 kB / 7.162 GB, free: 92.89 MB / 442.7 MB Notification: Performance of SimCode: time 1.583e-06/21.24, allocations: 3.75 kB / 7.162 GB, free: 92.89 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.564/24.81, allocations: 23.24 MB / 7.184 GB, free: 91.27 MB / 442.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX_res.mat does not exist to compare? outputFormat=mat