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.002161/0.002161, allocations: 178.1 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 88.7 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.206e-05, allocations: 4 kB / 314.9 MB, free: 9.059 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3644, allocations: 47.57 MB / 362.4 MB, free: 45.72 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6035/0.9679, allocations: 189.4 MB / 0.5389 GB, free: 87.29 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.9682, allocations: 76.08 kB / 0.5389 GB, free: 87.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1425/1.111, allocations: 36.73 MB / 0.5748 GB, free: 59.81 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.813e-06/1.111, allocations: 2.531 kB / 0.5748 GB, free: 59.81 MB / 395.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/1.111, allocations: 4 kB / 0.5748 GB, free: 59.8 MB / 395.1 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.000876/1.112, allocations: 0.4898 MB / 0.5753 GB, free: 59.28 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.112, allocations: 12.03 kB / 0.5753 GB, free: 59.27 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/1.112, allocations: 0 / 0.5753 GB, free: 59.27 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/1.112, allocations: 187 kB / 0.5755 GB, free: 59.05 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/1.112, allocations: 11.95 kB / 0.5755 GB, free: 59.04 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/1.112, allocations: 0 / 0.5755 GB, free: 59.04 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.458e-05/1.112, allocations: 11.98 kB / 0.5755 GB, free: 59.03 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/1.112, allocations: 55.03 kB / 0.5756 GB, free: 58.96 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.112, allocations: 4 kB / 0.5756 GB, free: 58.96 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/1.112, allocations: 0 / 0.5756 GB, free: 58.96 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/1.112, allocations: 0 / 0.5756 GB, free: 58.96 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/1.113, allocations: 158.4 kB / 0.5757 GB, free: 58.77 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/1.113, allocations: 65.11 kB / 0.5758 GB, free: 58.7 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/1.113, allocations: 21.72 kB / 0.5758 GB, free: 58.67 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/1.114, allocations: 1.902 MB / 0.5777 GB, free: 56.37 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/1.114, allocations: 46.38 kB / 0.5777 GB, free: 56.32 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.615e-06/1.114, allocations: 0 / 0.5777 GB, free: 56.32 MB / 395.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008859/1.115, allocations: 121.3 kB / 0.5778 GB, free: 56.2 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/1.115, allocations: 81.11 kB / 0.5779 GB, free: 56.1 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/1.115, allocations: 100.4 kB / 0.578 GB, free: 56 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/1.115, allocations: 25.7 kB / 0.578 GB, free: 55.97 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/1.115, allocations: 150.6 kB / 0.5782 GB, free: 55.82 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/1.116, allocations: 23.64 kB / 0.5782 GB, free: 55.8 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-06/1.116, allocations: 4 kB / 0.5782 GB, free: 55.8 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/1.116, allocations: 310.8 kB / 0.5785 GB, free: 55.49 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/1.116, allocations: 12.31 kB / 0.5785 GB, free: 55.48 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.905e-05/1.116, allocations: 36.03 kB / 0.5785 GB, free: 55.44 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006157/1.116, allocations: 75.28 kB / 0.5786 GB, free: 55.37 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.116, allocations: 0 / 0.5786 GB, free: 55.37 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007191/1.117, allocations: 136.6 kB / 0.5787 GB, free: 55.24 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.117, allocations: 4 kB / 0.5787 GB, free: 55.23 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.117, allocations: 11.89 kB / 0.5787 GB, free: 55.22 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.871e-05/1.117, allocations: 192 / 0.5787 GB, free: 55.22 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/1.117, allocations: 18.98 kB / 0.5788 GB, free: 55.21 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/1.117, allocations: 4 kB / 0.5788 GB, free: 55.2 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/1.117, allocations: 3.938 kB / 0.5788 GB, free: 55.2 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/1.117, allocations: 7.938 kB / 0.5788 GB, free: 55.19 MB / 395.1 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.826e-05/1.118, allocations: 105 kB / 0.5789 GB, free: 55.08 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006961/1.118, allocations: 132.5 kB / 0.579 GB, free: 54.95 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/1.118, allocations: 7.953 kB / 0.579 GB, free: 54.95 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008947/1.119, allocations: 175.5 kB / 0.5792 GB, free: 54.78 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/1.119, allocations: 0 / 0.5792 GB, free: 54.78 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.119, allocations: 0 / 0.5792 GB, free: 54.78 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.119, allocations: 0 / 0.5792 GB, free: 54.78 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/1.119, allocations: 153.8 kB / 0.5793 GB, free: 54.6 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.119, allocations: 0 / 0.5793 GB, free: 54.6 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/1.12, allocations: 15.92 kB / 0.5793 GB, free: 54.59 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.12, allocations: 4 kB / 0.5793 GB, free: 54.58 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/1.12, allocations: 3.953 kB / 0.5793 GB, free: 54.58 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.12, allocations: 0 / 0.5793 GB, free: 54.58 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.12, allocations: 0 / 0.5793 GB, free: 54.58 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/1.12, allocations: 210.7 kB / 0.5795 GB, free: 54.37 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/1.121, allocations: 88.91 kB / 0.5796 GB, free: 54.27 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/1.121, allocations: 7.953 kB / 0.5796 GB, free: 54.26 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/1.121, allocations: 0 / 0.5796 GB, free: 54.26 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/1.121, allocations: 7.984 kB / 0.5796 GB, free: 54.25 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/1.121, allocations: 4 kB / 0.5796 GB, free: 54.25 MB / 395.1 MB Notification: Performance of sorting global known variables: time 4.064e-05/1.121, allocations: 82.84 kB / 0.5797 GB, free: 54.17 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.803e-06/1.121, allocations: 0 / 0.5797 GB, free: 54.17 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0007841/1.122, allocations: 195 kB / 0.5799 GB, free: 53.99 MB / 395.1 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.001987/1.124, allocations: 1.097 MB / 0.581 GB, free: 52.89 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001556/1.124, allocations: 39.11 kB / 0.581 GB, free: 52.86 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.124, allocations: 0 / 0.581 GB, free: 52.86 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.721e-05/1.124, allocations: 27.11 kB / 0.581 GB, free: 52.84 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/1.124, allocations: 4 kB / 0.5811 GB, free: 52.84 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008346/1.125, allocations: 379.6 kB / 0.5814 GB, free: 52.43 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/1.125, allocations: 0.6939 MB / 0.5821 GB, free: 51.71 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/1.125, allocations: 22.98 kB / 0.5821 GB, free: 51.69 MB / 395.1 MB Notification: Performance of SimCode: time 1.012e-06/1.125, allocations: 4 kB / 0.5821 GB, free: 51.69 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.683/3.808, allocations: 4.125 MB / 0.5861 GB, free: 47.57 MB / 395.1 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)