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.001456/0.001456, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.483/1.483, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 97.98 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 4 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2895, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/1.598, allocations: 498.4 MB / 0.8789 GB, free: 165.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/1.598, allocations: 82.7 kB / 0.879 GB, free: 165.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06564/1.664, allocations: 31.27 MB / 0.9095 GB, free: 134.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.594e-06/1.664, allocations: 0 / 0.9095 GB, free: 134.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.103e-05/1.664, allocations: 4 kB / 0.9095 GB, free: 134.1 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.0006383/1.665, allocations: 439 kB / 0.9099 GB, free: 133.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.665, allocations: 8.031 kB / 0.9099 GB, free: 133.6 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/1.665, allocations: 38.5 kB / 0.91 GB, free: 133.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/1.666, allocations: 99.77 kB / 0.9101 GB, free: 133.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/1.666, allocations: 214.9 kB / 0.9103 GB, free: 133.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/1.666, allocations: 4 kB / 0.9103 GB, free: 133.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/1.666, allocations: 4 kB / 0.9103 GB, free: 133.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/1.666, allocations: 91.31 kB / 0.9104 GB, free: 133.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/1.666, allocations: 4 kB / 0.9104 GB, free: 133.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/1.666, allocations: 0 / 0.9104 GB, free: 133.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/1.666, allocations: 4 kB / 0.9104 GB, free: 133.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/1.667, allocations: 43.89 kB / 0.9104 GB, free: 133 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/1.667, allocations: 206.8 kB / 0.9106 GB, free: 132.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/1.667, allocations: 129.1 kB / 0.9107 GB, free: 132.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008349/1.668, allocations: 1.643 MB / 0.9123 GB, free: 130.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/1.668, allocations: 30.56 kB / 0.9124 GB, free: 130.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/1.668, allocations: 0 / 0.9124 GB, free: 130.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004661/1.669, allocations: 137.4 kB / 0.9125 GB, free: 130.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/1.669, allocations: 77.11 kB / 0.9126 GB, free: 130.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/1.669, allocations: 149 kB / 0.9127 GB, free: 130.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/1.669, allocations: 25.7 kB / 0.9127 GB, free: 130.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/1.669, allocations: 88.12 kB / 0.9128 GB, free: 130.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/1.669, allocations: 23.66 kB / 0.9128 GB, free: 130 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/1.669, allocations: 0 / 0.9128 GB, free: 130 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.306e-05/1.669, allocations: 318.8 kB / 0.9131 GB, free: 129.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.28e-05/1.669, allocations: 27.92 kB / 0.9132 GB, free: 129.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.581e-05/1.669, allocations: 59.66 kB / 0.9132 GB, free: 129.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/1.669, allocations: 27.97 kB / 0.9133 GB, free: 129.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.67, allocations: 0 / 0.9133 GB, free: 129.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002886/1.67, allocations: 129.8 kB / 0.9134 GB, free: 129.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.67, allocations: 4 kB / 0.9134 GB, free: 129.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.67, allocations: 0 / 0.9134 GB, free: 129.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.67, allocations: 8.062 kB / 0.9134 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/1.67, allocations: 27.91 kB / 0.9134 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.67, allocations: 8.141 kB / 0.9134 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/1.67, allocations: 7.984 kB / 0.9134 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/1.67, allocations: 4 kB / 0.9134 GB, free: 129.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 () * Number of clocked 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.551e-05/1.67, allocations: 113.8 kB / 0.9135 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/1.67, allocations: 7.953 kB / 0.9135 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005135/1.671, allocations: 245.1 kB / 0.9138 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.671, allocations: 0 / 0.9138 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.671, allocations: 4 kB / 0.9138 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.671, allocations: 0 / 0.9138 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/1.671, allocations: 219 kB / 0.914 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.671, allocations: 3.938 kB / 0.914 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/1.671, allocations: 27.92 kB / 0.914 GB, free: 128.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.671, allocations: 0 / 0.914 GB, free: 128.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/1.671, allocations: 12.05 kB / 0.914 GB, free: 128.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.671, allocations: 0 / 0.914 GB, free: 128.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.671, allocations: 0 / 0.914 GB, free: 128.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/1.672, allocations: 195.4 kB / 0.9142 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/1.672, allocations: 93.03 kB / 0.9143 GB, free: 128.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/1.672, allocations: 4 kB / 0.9143 GB, free: 128.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/1.672, allocations: 11.98 kB / 0.9143 GB, free: 128.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/1.672, allocations: 3.984 kB / 0.9143 GB, free: 128.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/1.672, allocations: 4 kB / 0.9143 GB, free: 128.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001346/1.672, allocations: 131.2 kB / 0.9145 GB, free: 128.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.672, allocations: 0 / 0.9145 GB, free: 128.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007342/1.673, allocations: 167.8 kB / 0.9146 GB, free: 128.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.002014/1.675, allocations: 1.417 MB / 0.916 GB, free: 126.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002694/1.675, allocations: 79.81 kB / 0.9161 GB, free: 126.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.675, allocations: 0 / 0.9161 GB, free: 126.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/1.675, allocations: 40.03 kB / 0.9161 GB, free: 126.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/1.676, allocations: 16.39 kB / 0.9161 GB, free: 126.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/1.677, allocations: 1.368 MB / 0.9175 GB, free: 125.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/1.677, allocations: 0.6942 MB / 0.9181 GB, free: 124.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004856/1.678, allocations: 427.1 kB / 0.9186 GB, free: 123.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/1.678, allocations: 55.31 kB / 0.9186 GB, free: 123.9 MB / 458.7 MB Notification: Performance of SimCode: time 3.41e-07/1.678, allocations: 0 / 0.9186 GB, free: 123.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/1.708, allocations: 14.12 MB / 0.9324 GB, free: 109.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/1.708, allocations: 241.5 kB / 0.9326 GB, free: 109.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/3.883, allocations: 0 / 0.9326 GB, free: 109.7 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)