Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001504/0.001504, allocations: 181.3 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.081/2.081, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001126/0.001125, allocations: 90.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.708e-05, allocations: 0 / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 47.56 MB / 369.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8895/0.9952, allocations: 190 MB / 0.5461 GB, free: 109.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.9956, allocations: 77.67 kB / 0.5462 GB, free: 109.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1462/1.142, allocations: 36.95 MB / 0.5822 GB, free: 97.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/1.142, allocations: 0 / 0.5822 GB, free: 97.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/1.142, allocations: 3.938 kB / 0.5822 GB, free: 97.96 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.0009819/1.143, allocations: 0.4955 MB / 0.5827 GB, free: 97.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.143, allocations: 7.875 kB / 0.5827 GB, free: 97.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/1.143, allocations: 34.5 kB / 0.5828 GB, free: 97.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/1.143, allocations: 7.906 kB / 0.5828 GB, free: 97.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/1.143, allocations: 193.7 kB / 0.583 GB, free: 97.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/1.143, allocations: 0 / 0.583 GB, free: 97.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/1.143, allocations: 3.969 kB / 0.583 GB, free: 97.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/1.144, allocations: 58.48 kB / 0.583 GB, free: 97.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/1.144, allocations: 0 / 0.583 GB, free: 97.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/1.144, allocations: 3.781 kB / 0.583 GB, free: 97.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.144, allocations: 0 / 0.583 GB, free: 97.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.749e-05/1.144, allocations: 19.56 kB / 0.583 GB, free: 97.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/1.144, allocations: 177 kB / 0.5832 GB, free: 96.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/1.144, allocations: 80.3 kB / 0.5833 GB, free: 96.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/1.144, allocations: 20.97 kB / 0.5833 GB, free: 96.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/1.146, allocations: 1.901 MB / 0.5852 GB, free: 94.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/1.146, allocations: 34.19 kB / 0.5852 GB, free: 94.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/1.146, allocations: 0 / 0.5852 GB, free: 94.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002258/1.146, allocations: 67.8 kB / 0.5853 GB, free: 94.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/1.146, allocations: 77.11 kB / 0.5853 GB, free: 94.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/1.146, allocations: 104.8 kB / 0.5854 GB, free: 94.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/1.146, allocations: 25.7 kB / 0.5855 GB, free: 94.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.009e-05/1.146, allocations: 158.2 kB / 0.5856 GB, free: 94.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/1.146, allocations: 19.12 kB / 0.5856 GB, free: 94.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-06/1.146, allocations: 0 / 0.5856 GB, free: 94.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/1.146, allocations: 318.6 kB / 0.5859 GB, free: 93.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/1.146, allocations: 7.438 kB / 0.5859 GB, free: 93.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.386e-05/1.146, allocations: 38.66 kB / 0.586 GB, free: 93.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.538e-05/1.146, allocations: 23.44 kB / 0.586 GB, free: 93.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.146, allocations: 0 / 0.586 GB, free: 93.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001645/1.147, allocations: 75.47 kB / 0.5861 GB, free: 93.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.147, allocations: 7.562 kB / 0.5861 GB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.147, allocations: 0 / 0.5861 GB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.147, allocations: 3.688 kB / 0.5861 GB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/1.147, allocations: 15.5 kB / 0.5861 GB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/1.147, allocations: 4.453 kB / 0.5861 GB, free: 93.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/1.147, allocations: 14.94 kB / 0.5861 GB, free: 93.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/1.147, allocations: 7.188 kB / 0.5861 GB, free: 93.76 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 5.885e-05/1.147, allocations: 101 kB / 0.5862 GB, free: 93.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/1.147, allocations: 11.77 kB / 0.5862 GB, free: 93.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/1.147, allocations: 114.4 kB / 0.5863 GB, free: 93.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.147, allocations: 0 / 0.5863 GB, free: 93.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.147, allocations: 7.938 kB / 0.5863 GB, free: 93.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.147, allocations: 0 / 0.5863 GB, free: 93.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/1.148, allocations: 174.8 kB / 0.5865 GB, free: 93.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.148, allocations: 0 / 0.5865 GB, free: 93.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/1.148, allocations: 19.78 kB / 0.5865 GB, free: 93.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.738e-06/1.148, allocations: 0 / 0.5865 GB, free: 93.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/1.148, allocations: 11.56 kB / 0.5865 GB, free: 93.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.148, allocations: 3.75 kB / 0.5865 GB, free: 93.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.148, allocations: 0 / 0.5865 GB, free: 93.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/1.148, allocations: 140.3 kB / 0.5867 GB, free: 93.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/1.148, allocations: 100.2 kB / 0.5868 GB, free: 93.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/1.148, allocations: 7.734 kB / 0.5868 GB, free: 93.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/1.148, allocations: 3.75 kB / 0.5868 GB, free: 93.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/1.148, allocations: 7.688 kB / 0.5868 GB, free: 93.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/1.148, allocations: 3.984 kB / 0.5868 GB, free: 93.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.619e-05/1.148, allocations: 91.16 kB / 0.5869 GB, free: 93.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.3e-07/1.148, allocations: 0 / 0.5869 GB, free: 93.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000848/1.149, allocations: 193.1 kB / 0.5871 GB, free: 93 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.001447/1.151, allocations: 1.021 MB / 0.5881 GB, free: 92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/1.151, allocations: 39.38 kB / 0.5881 GB, free: 91.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.151, allocations: 0 / 0.5881 GB, free: 91.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/1.151, allocations: 31.73 kB / 0.5881 GB, free: 91.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/1.151, allocations: 4 kB / 0.5881 GB, free: 91.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008542/1.152, allocations: 388.1 kB / 0.5885 GB, free: 91.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/1.152, allocations: 0.6926 MB / 0.5892 GB, free: 90.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/1.152, allocations: 31.34 kB / 0.5892 GB, free: 90.78 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/1.152, allocations: 0 / 0.5892 GB, free: 90.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.704/3.856, allocations: 4.047 MB / 0.5932 GB, free: 86.73 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)