Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 221.3 MB / 235.5 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.00126, allocations: 98.28 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.891e-05, allocations: 4 kB / 343.9 MB, free: 4.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1414, allocations: 50.41 MB / 394.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.479/1.62, allocations: 498.3 MB / 0.8718 GB, free: 31.54 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003743/1.621, allocations: 75.45 kB / 0.8718 GB, free: 31.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07062/1.691, allocations: 31.2 MB / 0.9023 GB, free: 4.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.944e-06/1.691, allocations: 4 kB / 0.9023 GB, free: 4.316 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.345e-06/1.691, allocations: 0 / 0.9023 GB, free: 4.316 MB / 458.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.000577/1.692, allocations: 416.9 kB / 0.9027 GB, free: 3.867 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/1.692, allocations: 12.03 kB / 0.9027 GB, free: 3.855 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/1.692, allocations: 34.55 kB / 0.9027 GB, free: 3.812 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008174/1.693, allocations: 91.78 kB / 0.9028 GB, free: 3.723 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/1.693, allocations: 194.9 kB / 0.903 GB, free: 3.492 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/1.693, allocations: 4 kB / 0.903 GB, free: 3.488 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/1.693, allocations: 4 kB / 0.903 GB, free: 3.484 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/1.693, allocations: 67.33 kB / 0.9031 GB, free: 3.406 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/1.693, allocations: 0 / 0.9031 GB, free: 3.406 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/1.693, allocations: 3.984 kB / 0.9031 GB, free: 3.402 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.693, allocations: 8 kB / 0.9031 GB, free: 3.395 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.265e-05/1.693, allocations: 27.98 kB / 0.9031 GB, free: 3.367 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/1.694, allocations: 190.3 kB / 0.9033 GB, free: 3.129 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/1.694, allocations: 93.12 kB / 0.9034 GB, free: 3.02 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/1.694, allocations: 33.95 kB / 0.9034 GB, free: 2.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008879/1.695, allocations: 1.639 MB / 0.905 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/1.695, allocations: 38.48 kB / 0.9051 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/1.695, allocations: 0 / 0.9051 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.000221/1.695, allocations: 73.75 kB / 0.9051 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/1.695, allocations: 81.05 kB / 0.9052 GB, free: 0.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/1.696, allocations: 121 kB / 0.9053 GB, free: 0.625 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/1.696, allocations: 25.7 kB / 0.9054 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/1.696, allocations: 92.14 kB / 0.9054 GB, free: 0.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/1.696, allocations: 23.64 kB / 0.9055 GB, free: 488 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/1.696, allocations: 0 / 0.9055 GB, free: 488 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/1.696, allocations: 318.8 kB / 0.9058 GB, free: 160 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.177e-05/1.696, allocations: 15.98 kB / 0.9058 GB, free: 144 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.665e-05/1.696, allocations: 43.38 kB / 0.9058 GB, free: 88 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/1.696, allocations: 23.98 kB / 0.9058 GB, free: 64 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.696, allocations: 3.953 kB / 0.9059 GB, free: 60 kB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.329/2.025, allocations: 91.27 kB / 0.9059 GB, free: 154.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/2.025, allocations: 6.594 kB / 0.9059 GB, free: 154.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/2.025, allocations: 1.25 kB / 0.9059 GB, free: 154.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/2.025, allocations: 3.078 kB / 0.906 GB, free: 154.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/2.025, allocations: 17.69 kB / 0.906 GB, free: 154.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/2.025, allocations: 2.594 kB / 0.906 GB, free: 154.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/2.026, allocations: 8.438 kB / 0.906 GB, free: 154.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/2.026, allocations: 4.531 kB / 0.906 GB, free: 154.4 MB / 458.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 7.797e-05/2.026, allocations: 107.5 kB / 0.9061 GB, free: 154.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/2.026, allocations: 16.81 kB / 0.9061 GB, free: 154.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000368/2.026, allocations: 110.5 kB / 0.9062 GB, free: 154.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/2.026, allocations: 1.5 kB / 0.9062 GB, free: 154.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/2.026, allocations: 1.125 kB / 0.9062 GB, free: 154.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/2.026, allocations: 2.094 kB / 0.9062 GB, free: 154.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/2.026, allocations: 182.3 kB / 0.9064 GB, free: 154.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/2.026, allocations: 1.281 kB / 0.9064 GB, free: 154.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/2.026, allocations: 15.97 kB / 0.9064 GB, free: 154.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/2.026, allocations: 1.375 kB / 0.9064 GB, free: 154.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/2.026, allocations: 3.766 kB / 0.9064 GB, free: 154.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/2.027, allocations: 4.594 kB / 0.9064 GB, free: 154.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/2.027, allocations: 0 / 0.9064 GB, free: 154.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/2.027, allocations: 146.6 kB / 0.9065 GB, free: 154 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.973e-05/2.027, allocations: 94.56 kB / 0.9066 GB, free: 153.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/2.027, allocations: 2.422 kB / 0.9066 GB, free: 153.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/2.027, allocations: 8.609 kB / 0.9067 GB, free: 153.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/2.027, allocations: 7.797 kB / 0.9067 GB, free: 153.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/2.027, allocations: 3.625 kB / 0.9067 GB, free: 153.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001091/2.027, allocations: 111.5 kB / 0.9068 GB, free: 153.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/2.027, allocations: 0 / 0.9068 GB, free: 153.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009727/2.028, allocations: 165.8 kB / 0.9069 GB, free: 153.9 MB / 458.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.001973/2.03, allocations: 1.351 MB / 0.9082 GB, free: 153.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/2.031, allocations: 50.39 kB / 0.9083 GB, free: 153.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/2.031, allocations: 0 / 0.9083 GB, free: 153.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.046e-05/2.031, allocations: 24.97 kB / 0.9083 GB, free: 153.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/2.031, allocations: 13.88 kB / 0.9083 GB, free: 153.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000821/2.032, allocations: 327 kB / 0.9086 GB, free: 153 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/2.032, allocations: 0.6956 MB / 0.9093 GB, free: 152.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002134/2.032, allocations: 48.27 kB / 0.9094 GB, free: 152.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/2.032, allocations: 35.97 kB / 0.9094 GB, free: 152.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/2.032, allocations: 0 / 0.9094 GB, free: 152.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04863/2.081, allocations: 14.67 MB / 0.9237 GB, free: 151.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/2.081, allocations: 204.9 kB / 0.9239 GB, free: 151.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/4.284, allocations: 3.938 kB / 0.9239 GB, free: 151.1 MB / 458.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)