Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_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.001466/0.001466, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009757/0.0009754, allocations: 90.34 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.226e-05, allocations: 0 / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 47.59 MB / 363.2 MB, free: 6.98 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8509/0.9623, allocations: 189.6 MB / 0.5398 GB, free: 149.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.9625, allocations: 76.91 kB / 0.5399 GB, free: 149.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08263/1.045, allocations: 36.75 MB / 0.5757 GB, free: 119.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.045, allocations: 0 / 0.5757 GB, free: 119.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/1.045, allocations: 4 kB / 0.5758 GB, free: 119.8 MB / 410.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.0007793/1.046, allocations: 0.4901 MB / 0.5762 GB, free: 119.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/1.046, allocations: 12.02 kB / 0.5762 GB, free: 119.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/1.046, allocations: 4 kB / 0.5762 GB, free: 119.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/1.046, allocations: 179 kB / 0.5764 GB, free: 119 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/1.046, allocations: 3.953 kB / 0.5764 GB, free: 119 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/1.046, allocations: 7.984 kB / 0.5764 GB, free: 119 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.036e-05/1.046, allocations: 12 kB / 0.5764 GB, free: 119 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.148e-05/1.047, allocations: 59.34 kB / 0.5765 GB, free: 118.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/1.047, allocations: 0 / 0.5765 GB, free: 118.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/1.047, allocations: 3.984 kB / 0.5765 GB, free: 118.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/1.047, allocations: 0 / 0.5765 GB, free: 118.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/1.047, allocations: 147.1 kB / 0.5766 GB, free: 118.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/1.047, allocations: 73.2 kB / 0.5767 GB, free: 118.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.574e-05/1.047, allocations: 17.95 kB / 0.5767 GB, free: 118.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008985/1.048, allocations: 1.907 MB / 0.5786 GB, free: 116.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/1.048, allocations: 30.56 kB / 0.5786 GB, free: 116.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.364e-06/1.048, allocations: 3.984 kB / 0.5786 GB, free: 116.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.000651/1.049, allocations: 125.5 kB / 0.5787 GB, free: 116.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/1.049, allocations: 81.11 kB / 0.5788 GB, free: 116 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/1.049, allocations: 104.9 kB / 0.5789 GB, free: 115.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/1.049, allocations: 29.7 kB / 0.5789 GB, free: 115.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/1.049, allocations: 84.14 kB / 0.579 GB, free: 115.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/1.049, allocations: 15.72 kB / 0.579 GB, free: 115.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/1.049, allocations: 0 / 0.579 GB, free: 115.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/1.049, allocations: 318.8 kB / 0.5793 GB, free: 115.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.367e-05/1.049, allocations: 12 kB / 0.5794 GB, free: 115.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-05/1.049, allocations: 31.44 kB / 0.5794 GB, free: 115.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/1.05, allocations: 75.91 kB / 0.5795 GB, free: 115.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.05, allocations: 0 / 0.5795 GB, free: 115.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004463/1.05, allocations: 133.5 kB / 0.5796 GB, free: 115.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.05, allocations: 4 kB / 0.5796 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.05, allocations: 7.953 kB / 0.5796 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/1.05, allocations: 8 kB / 0.5796 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.526e-05/1.05, allocations: 19.92 kB / 0.5796 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/1.05, allocations: 4 kB / 0.5796 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/1.05, allocations: 11.78 kB / 0.5796 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/1.05, allocations: 7.984 kB / 0.5796 GB, free: 115.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.435e-05/1.05, allocations: 101 kB / 0.5797 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004377/1.051, allocations: 129.5 kB / 0.5799 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/1.051, allocations: 7.859 kB / 0.5799 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006315/1.051, allocations: 173.8 kB / 0.58 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.051, allocations: 4 kB / 0.58 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.051, allocations: 0 / 0.58 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.051, allocations: 0 / 0.58 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/1.052, allocations: 154.2 kB / 0.5802 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.052, allocations: 0 / 0.5802 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.565e-05/1.052, allocations: 8 kB / 0.5802 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/1.052, allocations: 4 kB / 0.5802 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/1.052, allocations: 8.328 kB / 0.5802 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.052, allocations: 3.984 kB / 0.5802 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.052, allocations: 0 / 0.5802 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/1.052, allocations: 203.5 kB / 0.5804 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/1.052, allocations: 100.9 kB / 0.5805 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/1.052, allocations: 7.953 kB / 0.5805 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/1.052, allocations: 4.062 kB / 0.5805 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/1.052, allocations: 7.984 kB / 0.5805 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/1.052, allocations: 4 kB / 0.5805 GB, free: 114.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.266e-05/1.052, allocations: 83.28 kB / 0.5806 GB, free: 114 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.053, allocations: 0 / 0.5806 GB, free: 114 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006165/1.053, allocations: 187.7 kB / 0.5808 GB, free: 113.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001382/1.055, allocations: 1.09 MB / 0.5819 GB, free: 112.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/1.055, allocations: 35.98 kB / 0.5819 GB, free: 112.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.055, allocations: 128 / 0.5819 GB, free: 112.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.193e-05/1.055, allocations: 27.94 kB / 0.5819 GB, free: 112.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/1.055, allocations: 15.97 kB / 0.5819 GB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006958/1.056, allocations: 350.7 kB / 0.5823 GB, free: 112.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/1.056, allocations: 0.6924 MB / 0.5829 GB, free: 111.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.316e-05/1.056, allocations: 27.97 kB / 0.583 GB, free: 111.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/1.056, allocations: 27.36 kB / 0.583 GB, free: 111.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/1.056, allocations: 0 / 0.583 GB, free: 111.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/1.086, allocations: 4.298 MB / 0.5872 GB, free: 107.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/1.086, allocations: 198 kB / 0.5874 GB, free: 106.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/3.335, allocations: 0 / 0.5874 GB, free: 106.9 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat