Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 227.2 MB / 245 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009404/0.0009404, allocations: 111.5 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002341/0.0002341, allocations: 4 kB / 357.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.202, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9519/1.154, allocations: 499.2 MB / 0.8873 GB, free: 143.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/1.154, allocations: 75.97 kB / 0.8874 GB, free: 143.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06249/1.217, allocations: 31.39 MB / 0.9181 GB, free: 111.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.082e-06/1.217, allocations: 0 / 0.9181 GB, free: 111.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/1.217, allocations: 0 / 0.9181 GB, free: 111.8 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.0004461/1.217, allocations: 443 kB / 0.9185 GB, free: 111.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/1.217, allocations: 12.03 kB / 0.9185 GB, free: 111.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/1.218, allocations: 111.7 kB / 0.9186 GB, free: 111.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/1.219, allocations: 219 kB / 0.9188 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/1.219, allocations: 7.938 kB / 0.9188 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/1.219, allocations: 0 / 0.9188 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/1.219, allocations: 95.33 kB / 0.9189 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/1.219, allocations: 0 / 0.9189 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/1.219, allocations: 0 / 0.9189 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/1.219, allocations: 0 / 0.9189 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/1.219, allocations: 51.91 kB / 0.9189 GB, free: 110.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/1.219, allocations: 206.9 kB / 0.9191 GB, free: 110.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/1.22, allocations: 125.2 kB / 0.9193 GB, free: 110.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005771/1.22, allocations: 1.631 MB / 0.9209 GB, free: 108.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/1.22, allocations: 38.5 kB / 0.9209 GB, free: 108.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/1.22, allocations: 0 / 0.9209 GB, free: 108.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004101/1.221, allocations: 137.7 kB / 0.921 GB, free: 108.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/1.221, allocations: 85.11 kB / 0.9211 GB, free: 108.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/1.221, allocations: 144.9 kB / 0.9212 GB, free: 108 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/1.221, allocations: 25.7 kB / 0.9213 GB, free: 108 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.812e-05/1.221, allocations: 88.14 kB / 0.9214 GB, free: 107.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/1.221, allocations: 19.64 kB / 0.9214 GB, free: 107.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/1.221, allocations: 4 kB / 0.9214 GB, free: 107.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.737e-05/1.221, allocations: 326.8 kB / 0.9217 GB, free: 107.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.875e-05/1.221, allocations: 23.98 kB / 0.9217 GB, free: 107.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-05/1.221, allocations: 51.41 kB / 0.9218 GB, free: 107.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.533e-05/1.221, allocations: 31.97 kB / 0.9218 GB, free: 107.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.221, allocations: 0 / 0.9218 GB, free: 107.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002774/1.222, allocations: 125.4 kB / 0.9219 GB, free: 107.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/1.222, allocations: 4 kB / 0.9219 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.222, allocations: 4 kB / 0.9219 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/1.222, allocations: 0 / 0.9219 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/1.222, allocations: 23.97 kB / 0.9219 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/1.222, allocations: 0 / 0.9219 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/1.222, allocations: 11.98 kB / 0.922 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/1.222, allocations: 7.984 kB / 0.922 GB, free: 107.2 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 6.012e-05/1.222, allocations: 125.8 kB / 0.9221 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/1.222, allocations: 4 kB / 0.9221 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/1.223, allocations: 245 kB / 0.9223 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.223, allocations: 0 / 0.9223 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.223, allocations: 3.984 kB / 0.9223 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/1.223, allocations: 4 kB / 0.9223 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/1.223, allocations: 207 kB / 0.9225 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.223, allocations: 0 / 0.9225 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/1.223, allocations: 23.97 kB / 0.9225 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.223, allocations: 7.984 kB / 0.9226 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/1.223, allocations: 0 / 0.9226 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.223, allocations: 8 kB / 0.9226 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.223, allocations: 7.938 kB / 0.9226 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/1.223, allocations: 187.5 kB / 0.9227 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/1.224, allocations: 93.03 kB / 0.9228 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/1.224, allocations: 3.984 kB / 0.9228 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/1.224, allocations: 7.938 kB / 0.9228 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/1.224, allocations: 12.22 kB / 0.9229 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/1.224, allocations: 4 kB / 0.9229 GB, free: 106.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001294/1.224, allocations: 131.3 kB / 0.923 GB, free: 106.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.224, allocations: 0 / 0.923 GB, free: 106.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005752/1.225, allocations: 175.8 kB / 0.9232 GB, free: 105.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 () * 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.0009878/1.226, allocations: 0.7266 MB / 0.9239 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002408/1.226, allocations: 75.88 kB / 0.9239 GB, free: 105.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.226, allocations: 0 / 0.9239 GB, free: 105.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/1.226, allocations: 43.84 kB / 0.924 GB, free: 105.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/1.226, allocations: 10.23 kB / 0.924 GB, free: 105 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/1.227, allocations: 365.7 kB / 0.9243 GB, free: 104.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/1.227, allocations: 0.6926 MB / 0.925 GB, free: 103.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004408/1.227, allocations: 430.8 kB / 0.9254 GB, free: 103.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/1.227, allocations: 35.39 kB / 0.9255 GB, free: 103.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/1.227, allocations: 4 kB / 0.9255 GB, free: 103.5 MB / 458.7 MB Notification: Performance of Templates: time 0.01224/1.24, allocations: 11.3 MB / 0.9365 GB, free: 92.16 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)