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.00255/0.00255, allocations: 181.7 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.129/2.129, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001141/0.00114, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.492e-05, allocations: 7.938 kB / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 47.58 MB / 369.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.49/20.59, allocations: 6.612 GB / 6.972 GB, free: 46.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/20.59, allocations: 70.41 kB / 6.972 GB, free: 46.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003/21.59, allocations: 179.5 MB / 7.148 GB, free: 38.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/21.59, allocations: 0 / 7.148 GB, free: 38.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/21.59, allocations: 0 / 7.148 GB, free: 38.98 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.005583/21.6, allocations: 1.078 MB / 7.149 GB, free: 37.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/21.6, allocations: 8.031 kB / 7.149 GB, free: 37.85 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/21.6, allocations: 34.56 kB / 7.149 GB, free: 37.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/21.6, allocations: 7.953 kB / 7.149 GB, free: 37.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/21.6, allocations: 194.9 kB / 7.149 GB, free: 37.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/21.6, allocations: 4 kB / 7.149 GB, free: 37.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/21.6, allocations: 3.938 kB / 7.149 GB, free: 37.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/21.6, allocations: 75.02 kB / 7.149 GB, free: 37.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/21.6, allocations: 0 / 7.149 GB, free: 37.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/21.6, allocations: 0 / 7.149 GB, free: 37.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/21.6, allocations: 3.984 kB / 7.149 GB, free: 37.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/21.6, allocations: 43.84 kB / 7.149 GB, free: 37.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/21.6, allocations: 190.5 kB / 7.149 GB, free: 37.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/21.6, allocations: 89.27 kB / 7.149 GB, free: 37.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/21.6, allocations: 33.8 kB / 7.149 GB, free: 37.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.961e-05/21.6, allocations: 15.98 kB / 7.149 GB, free: 37.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/21.6, allocations: 38.56 kB / 7.149 GB, free: 36.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/21.6, allocations: 0 / 7.149 GB, free: 36.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002448/21.6, allocations: 77.52 kB / 7.149 GB, free: 36.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/21.6, allocations: 81.09 kB / 7.149 GB, free: 36.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/21.6, allocations: 125.2 kB / 7.15 GB, free: 36.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/21.6, allocations: 25.7 kB / 7.15 GB, free: 36.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/21.6, allocations: 154.6 kB / 7.15 GB, free: 36.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/21.6, allocations: 19.8 kB / 7.15 GB, free: 36.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/21.6, allocations: 0 / 7.15 GB, free: 36.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/21.6, allocations: 318.8 kB / 7.15 GB, free: 36.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.603e-05/21.6, allocations: 16 kB / 7.15 GB, free: 36.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.124e-05/21.6, allocations: 29.7 kB / 7.15 GB, free: 36.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.116e-05/21.6, allocations: 11.98 kB / 7.15 GB, free: 36.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/21.6, allocations: 0 / 7.15 GB, free: 36.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001864/21.6, allocations: 85.5 kB / 7.15 GB, free: 36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/21.6, allocations: 4 kB / 7.15 GB, free: 36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/21.6, allocations: 4 kB / 7.15 GB, free: 35.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/21.6, allocations: 0 / 7.15 GB, free: 35.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/21.6, allocations: 11.98 kB / 7.15 GB, free: 35.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/21.6, allocations: 4 kB / 7.15 GB, free: 35.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/21.6, allocations: 7.938 kB / 7.15 GB, free: 35.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/21.6, allocations: 4 kB / 7.15 GB, free: 35.96 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 6.26e-05/21.6, allocations: 108.9 kB / 7.15 GB, free: 35.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/21.6, allocations: 8 kB / 7.15 GB, free: 35.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/21.6, allocations: 116.4 kB / 7.15 GB, free: 35.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/21.6, allocations: 4.312 kB / 7.15 GB, free: 35.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/21.6, allocations: 0 / 7.15 GB, free: 35.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/21.6, allocations: 4 kB / 7.15 GB, free: 35.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/21.6, allocations: 177.6 kB / 7.151 GB, free: 35.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/21.6, allocations: 3.938 kB / 7.151 GB, free: 35.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/21.6, allocations: 8 kB / 7.151 GB, free: 35.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/21.6, allocations: 4 kB / 7.151 GB, free: 35.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/21.6, allocations: 4 kB / 7.151 GB, free: 35.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/21.6, allocations: 0 / 7.151 GB, free: 35.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/21.6, allocations: 3.984 kB / 7.151 GB, free: 35.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/21.6, allocations: 131.4 kB / 7.151 GB, free: 35.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/21.6, allocations: 97.08 kB / 7.151 GB, free: 35.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/21.6, allocations: 0 / 7.151 GB, free: 35.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/21.6, allocations: 8 kB / 7.151 GB, free: 35.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/21.6, allocations: 3.984 kB / 7.151 GB, free: 35.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/21.6, allocations: 4 kB / 7.151 GB, free: 35.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.013e-05/21.6, allocations: 111.3 kB / 7.151 GB, free: 35.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/21.6, allocations: 0 / 7.151 GB, free: 35.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004958/21.61, allocations: 0.9794 MB / 7.152 GB, free: 34.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 () * 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.01065/21.62, allocations: 2.102 MB / 7.154 GB, free: 31.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002372/21.62, allocations: 35.98 kB / 7.154 GB, free: 31.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/21.62, allocations: 0 / 7.154 GB, free: 31.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.069e-05/21.62, allocations: 35.92 kB / 7.154 GB, free: 31.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/21.62, allocations: 15.98 kB / 7.154 GB, free: 31.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/21.62, allocations: 0.5506 MB / 7.155 GB, free: 31.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/21.62, allocations: 0.6926 MB / 7.155 GB, free: 30.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/21.62, allocations: 23.42 kB / 7.155 GB, free: 30.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.332e-06/21.62, allocations: 0 / 7.155 GB, free: 30.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.463/25.09, allocations: 23.02 MB / 7.178 GB, free: 7.512 MB / 426.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