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.001293/0.001293, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.615/1.615, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.000893/0.0008932, allocations: 82.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.856e-05, allocations: 0 / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1035, allocations: 47.58 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.713/0.8165, allocations: 190 MB / 0.547 GB, free: 129.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.8169, allocations: 72.19 kB / 0.5471 GB, free: 129.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0808/0.8977, allocations: 36.95 MB / 0.5832 GB, free: 99.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.8977, allocations: 4 kB / 0.5832 GB, free: 99.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.8977, allocations: 0 / 0.5832 GB, free: 99.66 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.0007399/0.8985, allocations: 0.4897 MB / 0.5836 GB, free: 99.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.8985, allocations: 12.03 kB / 0.5836 GB, free: 99.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.8986, allocations: 30.56 kB / 0.5837 GB, free: 99.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.8986, allocations: 4 kB / 0.5837 GB, free: 99.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.8988, allocations: 197.6 kB / 0.5839 GB, free: 98.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.8989, allocations: 4 kB / 0.5839 GB, free: 98.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.8989, allocations: 3.984 kB / 0.5839 GB, free: 98.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.899, allocations: 62.58 kB / 0.5839 GB, free: 98.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.899, allocations: 0 / 0.5839 GB, free: 98.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.899, allocations: 0 / 0.5839 GB, free: 98.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.899, allocations: 0 / 0.5839 GB, free: 98.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.015e-05/0.8991, allocations: 19.06 kB / 0.584 GB, free: 98.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.8993, allocations: 176.9 kB / 0.5841 GB, free: 98.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.8995, allocations: 83.48 kB / 0.5842 GB, free: 98.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.8995, allocations: 20.78 kB / 0.5842 GB, free: 98.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009162/0.9005, allocations: 1.9 MB / 0.5861 GB, free: 96.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.9005, allocations: 34.56 kB / 0.5861 GB, free: 96.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.9005, allocations: 0 / 0.5861 GB, free: 96.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001664/0.9007, allocations: 68.27 kB / 0.5862 GB, free: 96.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.9007, allocations: 81.11 kB / 0.5863 GB, free: 95.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.9008, allocations: 100.8 kB / 0.5863 GB, free: 95.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.9008, allocations: 25.7 kB / 0.5864 GB, free: 95.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.9008, allocations: 87.52 kB / 0.5865 GB, free: 95.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.9009, allocations: 15.09 kB / 0.5865 GB, free: 95.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.9009, allocations: 8 kB / 0.5865 GB, free: 95.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.901, allocations: 318.2 kB / 0.5868 GB, free: 95.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.901, allocations: 11.19 kB / 0.5868 GB, free: 95.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.919e-05/0.901, allocations: 30.12 kB / 0.5868 GB, free: 95.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.9011, allocations: 19.23 kB / 0.5868 GB, free: 95.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9011, allocations: 4 kB / 0.5868 GB, free: 95.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001093/0.9012, allocations: 75.81 kB / 0.5869 GB, free: 95.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.9012, allocations: 8 kB / 0.5869 GB, free: 95.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.9012, allocations: 0 / 0.5869 GB, free: 95.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.9012, allocations: 192 / 0.5869 GB, free: 95.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.9013, allocations: 23.92 kB / 0.5869 GB, free: 95.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.9013, allocations: 3.938 kB / 0.5869 GB, free: 95.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.9014, allocations: 14.53 kB / 0.587 GB, free: 95.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.9014, allocations: 3.938 kB / 0.587 GB, free: 95.18 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 4.863e-05/0.9015, allocations: 111.4 kB / 0.5871 GB, free: 95.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.9015, allocations: 11.94 kB / 0.5871 GB, free: 95.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.9017, allocations: 108.7 kB / 0.5872 GB, free: 94.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.9017, allocations: 4 kB / 0.5872 GB, free: 94.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9017, allocations: 0 / 0.5872 GB, free: 94.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.9017, allocations: 0 / 0.5872 GB, free: 94.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.968e-05/0.9018, allocations: 186.2 kB / 0.5874 GB, free: 94.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.9019, allocations: 0 / 0.5874 GB, free: 94.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.9019, allocations: 15.92 kB / 0.5874 GB, free: 94.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.9019, allocations: 4 kB / 0.5874 GB, free: 94.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.902, allocations: 7.453 kB / 0.5874 GB, free: 94.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.902, allocations: 0 / 0.5874 GB, free: 94.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.902, allocations: 4 kB / 0.5874 GB, free: 94.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.9022, allocations: 133.5 kB / 0.5875 GB, free: 94.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.9022, allocations: 100.7 kB / 0.5876 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.9022, allocations: 7.562 kB / 0.5876 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.055e-05/0.9023, allocations: 0 / 0.5876 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.9023, allocations: 7.984 kB / 0.5876 GB, free: 94.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.9023, allocations: 0 / 0.5876 GB, free: 94.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.34e-05/0.9024, allocations: 90.84 kB / 0.5877 GB, free: 94.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9024, allocations: 4 kB / 0.5877 GB, free: 94.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005737/0.903, allocations: 190.8 kB / 0.5879 GB, free: 94.17 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.001165/0.9041, allocations: 1.023 MB / 0.5889 GB, free: 93.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.9043, allocations: 50.8 kB / 0.589 GB, free: 93.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9043, allocations: 0 / 0.589 GB, free: 93.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.9043, allocations: 23.62 kB / 0.589 GB, free: 93.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.9045, allocations: 15.61 kB / 0.589 GB, free: 93.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006963/0.9052, allocations: 370.7 kB / 0.5893 GB, free: 92.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.9054, allocations: 0.6887 MB / 0.59 GB, free: 91.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.2e-05/0.9055, allocations: 31.97 kB / 0.5901 GB, free: 91.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.9055, allocations: 22.73 kB / 0.5901 GB, free: 91.92 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.9055, allocations: 4 kB / 0.5901 GB, free: 91.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.9223, allocations: 4.771 MB / 0.5947 GB, free: 87.14 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.9225, allocations: 219.9 kB / 0.5949 GB, free: 86.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.673, allocations: 0 / 0.5949 GB, free: 86.92 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