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.001667/0.001667, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.698/1.698, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009137/0.0009138, allocations: 94.33 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.173e-05, allocations: 3.938 kB / 350.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1228, allocations: 51.49 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.449/1.572, allocations: 499.1 MB / 0.88 GB, free: 47.64 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/1.572, allocations: 72.41 kB / 0.8801 GB, free: 47.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06494/1.637, allocations: 31.33 MB / 0.9107 GB, free: 19.24 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.637, allocations: 0 / 0.9107 GB, free: 19.24 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/1.637, allocations: 0 / 0.9107 GB, free: 19.24 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.0006999/1.638, allocations: 418.3 kB / 0.9111 GB, free: 18.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/1.638, allocations: 9.062 kB / 0.9111 GB, free: 18.78 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/1.639, allocations: 107.1 kB / 0.9112 GB, free: 18.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/1.639, allocations: 194.9 kB / 0.9114 GB, free: 18.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.639, allocations: 0 / 0.9114 GB, free: 18.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/1.639, allocations: 4 kB / 0.9114 GB, free: 18.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/1.639, allocations: 71.38 kB / 0.9115 GB, free: 18.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.639, allocations: 0 / 0.9115 GB, free: 18.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/1.639, allocations: 0 / 0.9115 GB, free: 18.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.639, allocations: 4 kB / 0.9115 GB, free: 18.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.444e-05/1.639, allocations: 39.86 kB / 0.9115 GB, free: 18.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/1.64, allocations: 181.9 kB / 0.9117 GB, free: 18.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/1.64, allocations: 101.9 kB / 0.9118 GB, free: 17.97 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/1.64, allocations: 29.77 kB / 0.9118 GB, free: 17.94 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009391/1.641, allocations: 1.639 MB / 0.9134 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/1.641, allocations: 30.56 kB / 0.9135 GB, free: 15.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/1.641, allocations: 0 / 0.9135 GB, free: 15.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002411/1.641, allocations: 81.61 kB / 0.9135 GB, free: 15.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/1.641, allocations: 79.64 kB / 0.9136 GB, free: 15.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/1.642, allocations: 118.3 kB / 0.9137 GB, free: 15.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/1.642, allocations: 29.7 kB / 0.9137 GB, free: 15.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/1.642, allocations: 88.12 kB / 0.9138 GB, free: 15.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/1.642, allocations: 19.66 kB / 0.9138 GB, free: 15.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/1.642, allocations: 7.938 kB / 0.9139 GB, free: 15.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/1.642, allocations: 322.8 kB / 0.9142 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/1.642, allocations: 20 kB / 0.9142 GB, free: 15.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.907e-05/1.642, allocations: 44.36 kB / 0.9142 GB, free: 15.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/1.642, allocations: 12 kB / 0.9142 GB, free: 15.03 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.642, allocations: 3.938 kB / 0.9142 GB, free: 15.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001628/1.642, allocations: 93.5 kB / 0.9143 GB, free: 14.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.642, allocations: 12.06 kB / 0.9143 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.642, allocations: 0 / 0.9143 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.642, allocations: 0 / 0.9143 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/1.642, allocations: 19.98 kB / 0.9144 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/1.642, allocations: 3.984 kB / 0.9144 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/1.643, allocations: 4 kB / 0.9144 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/1.643, allocations: 8 kB / 0.9144 GB, free: 14.88 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.246e-05/1.643, allocations: 108.9 kB / 0.9145 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/1.643, allocations: 7.906 kB / 0.9145 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/1.643, allocations: 117.8 kB / 0.9146 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.643, allocations: 0 / 0.9146 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/1.643, allocations: 0 / 0.9146 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.643, allocations: 0 / 0.9146 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/1.643, allocations: 189.4 kB / 0.9148 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.643, allocations: 0 / 0.9148 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/1.643, allocations: 17.39 kB / 0.9148 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.643, allocations: 7.984 kB / 0.9148 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/1.643, allocations: 4 kB / 0.9148 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/1.643, allocations: 7.938 kB / 0.9148 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.643, allocations: 0 / 0.9148 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/1.644, allocations: 139.6 kB / 0.9149 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.47e-05/1.644, allocations: 89.03 kB / 0.915 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/1.644, allocations: 4.062 kB / 0.915 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/1.644, allocations: 11.98 kB / 0.915 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/1.644, allocations: 7.984 kB / 0.9151 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/1.644, allocations: 4 kB / 0.9151 GB, free: 14.07 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.841e-05/1.644, allocations: 104.1 kB / 0.9152 GB, free: 13.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.644, allocations: 0 / 0.9152 GB, free: 13.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007376/1.645, allocations: 180.7 kB / 0.9153 GB, free: 13.79 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.001263/1.646, allocations: 0.6977 MB / 0.916 GB, free: 13.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001448/1.646, allocations: 51.91 kB / 0.9161 GB, free: 13.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.646, allocations: 0 / 0.9161 GB, free: 13.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/1.646, allocations: 32.06 kB / 0.9161 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/1.646, allocations: 7.984 kB / 0.9161 GB, free: 13.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/1.647, allocations: 222.4 kB / 0.9163 GB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/1.647, allocations: 0.6896 MB / 0.917 GB, free: 12.05 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001832/1.647, allocations: 47.83 kB / 0.917 GB, free: 12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.019e-05/1.647, allocations: 27.41 kB / 0.9171 GB, free: 11.98 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/1.647, allocations: 0 / 0.9171 GB, free: 11.98 MB / 458.7 MB Notification: Performance of Templates: time 0.01374/1.661, allocations: 11.84 MB / 0.9286 GB, free: 160 kB / 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)