Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.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.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_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.002408/0.002407, allocations: 181.2 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.181/2.181, allocations: 205.2 MB / 219.4 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.00119/0.001189, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.47e-05/3.481e-05, allocations: 3.984 kB / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 47.57 MB / 369.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.955/2.068, allocations: 0.5816 GB / 0.9421 GB, free: 75.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/2.068, allocations: 80.11 kB / 0.9422 GB, free: 75.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1576/2.226, allocations: 41.67 MB / 0.9829 GB, free: 37.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/2.226, allocations: 0 / 0.9829 GB, free: 37.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/2.226, allocations: 0 / 0.9829 GB, free: 37.72 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.0008013/2.227, allocations: 450.8 kB / 0.9833 GB, free: 37.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/2.227, allocations: 8.031 kB / 0.9833 GB, free: 37.23 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/2.227, allocations: 30.56 kB / 0.9833 GB, free: 37.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/2.228, allocations: 95.88 kB / 0.9834 GB, free: 37.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/2.229, allocations: 187 kB / 0.9836 GB, free: 36.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/2.229, allocations: 7.953 kB / 0.9836 GB, free: 36.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/2.229, allocations: 7.906 kB / 0.9836 GB, free: 36.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/2.229, allocations: 71.31 kB / 0.9837 GB, free: 36.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/2.229, allocations: 3.938 kB / 0.9837 GB, free: 36.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/2.229, allocations: 4 kB / 0.9837 GB, free: 36.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/2.229, allocations: 4 kB / 0.9837 GB, free: 36.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/2.229, allocations: 31.92 kB / 0.9837 GB, free: 36.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/2.229, allocations: 190.5 kB / 0.9839 GB, free: 36.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/2.23, allocations: 101.2 kB / 0.984 GB, free: 36.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/2.23, allocations: 25.78 kB / 0.984 GB, free: 36.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009319/2.231, allocations: 1.376 MB / 0.9854 GB, free: 34.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/2.231, allocations: 38.56 kB / 0.9854 GB, free: 34.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 4.018e-06/2.231, allocations: 3.984 kB / 0.9854 GB, free: 34.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003173/2.231, allocations: 69.61 kB / 0.9855 GB, free: 34.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/2.231, allocations: 85.09 kB / 0.9856 GB, free: 34.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/2.232, allocations: 125 kB / 0.9857 GB, free: 34.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/2.232, allocations: 29.7 kB / 0.9857 GB, free: 34.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/2.232, allocations: 150.6 kB / 0.9859 GB, free: 34.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/2.232, allocations: 23.66 kB / 0.9859 GB, free: 34.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/2.232, allocations: 0 / 0.9859 GB, free: 34.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.673e-05/2.232, allocations: 318.8 kB / 0.9862 GB, free: 33.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/2.232, allocations: 23.92 kB / 0.9862 GB, free: 33.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.703e-05/2.232, allocations: 43.42 kB / 0.9862 GB, free: 33.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.682e-05/2.232, allocations: 23.98 kB / 0.9863 GB, free: 33.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/2.232, allocations: 0 / 0.9863 GB, free: 33.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002337/2.232, allocations: 89.5 kB / 0.9864 GB, free: 33.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/2.232, allocations: 8 kB / 0.9864 GB, free: 33.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/2.232, allocations: 0 / 0.9864 GB, free: 33.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/2.232, allocations: 0 / 0.9864 GB, free: 33.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/2.233, allocations: 23.92 kB / 0.9864 GB, free: 33.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/2.233, allocations: 0 / 0.9864 GB, free: 33.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/2.233, allocations: 12.05 kB / 0.9864 GB, free: 33.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/2.233, allocations: 8 kB / 0.9864 GB, free: 33.55 MB / 426.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.669e-05/2.233, allocations: 104.9 kB / 0.9865 GB, free: 33.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/2.233, allocations: 11.91 kB / 0.9865 GB, free: 33.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/2.233, allocations: 117.5 kB / 0.9866 GB, free: 33.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/2.233, allocations: 4 kB / 0.9866 GB, free: 33.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/2.233, allocations: 3.938 kB / 0.9866 GB, free: 33.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/2.234, allocations: 4 kB / 0.9866 GB, free: 33.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/2.234, allocations: 173.6 kB / 0.9868 GB, free: 33.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/2.234, allocations: 0 / 0.9868 GB, free: 33.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/2.234, allocations: 15.98 kB / 0.9868 GB, free: 33.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/2.234, allocations: 288 / 0.9868 GB, free: 33.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/2.234, allocations: 3.984 kB / 0.9868 GB, free: 33.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/2.234, allocations: 4 kB / 0.9868 GB, free: 33.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/2.234, allocations: 0 / 0.9868 GB, free: 33.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/2.234, allocations: 151.5 kB / 0.987 GB, free: 32.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/2.234, allocations: 93.02 kB / 0.9871 GB, free: 32.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/2.234, allocations: 7.938 kB / 0.9871 GB, free: 32.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/2.235, allocations: 7.984 kB / 0.9871 GB, free: 32.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/2.235, allocations: 4 kB / 0.9871 GB, free: 32.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/2.235, allocations: 7.984 kB / 0.9871 GB, free: 32.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001143/2.235, allocations: 107.3 kB / 0.9872 GB, free: 32.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.235, allocations: 0 / 0.9872 GB, free: 32.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001/2.236, allocations: 215.7 kB / 0.9874 GB, free: 32.42 MB / 426.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 (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.00255/2.239, allocations: 1.469 MB / 0.9888 GB, free: 30.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002652/2.239, allocations: 47.92 kB / 0.9889 GB, free: 30.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/2.239, allocations: 0 / 0.9889 GB, free: 30.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.422e-05/2.239, allocations: 32.05 kB / 0.9889 GB, free: 30.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/2.239, allocations: 8 kB / 0.9889 GB, free: 30.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/2.241, allocations: 389.3 kB / 0.9893 GB, free: 30.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/2.241, allocations: 0.689 MB / 0.99 GB, free: 29.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/2.241, allocations: 39.41 kB / 0.99 GB, free: 29.65 MB / 426.7 MB Notification: Performance of SimCode: time 1.313e-06/2.241, allocations: 0 / 0.99 GB, free: 29.65 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.712/4.953, allocations: 6.944 MB / 0.9968 GB, free: 22.69 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.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.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat