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.001026/0.001026, allocations: 196.1 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 226.5 MB / 245.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008784/0.0008787, allocations: 105.3 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002359/0.0002358, allocations: 4 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2722, allocations: 51.3 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.419, allocations: 499.2 MB / 0.8873 GB, free: 146.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.419, allocations: 77.61 kB / 0.8873 GB, free: 146.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06557/1.485, allocations: 31.22 MB / 0.9178 GB, free: 115.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.527e-06/1.485, allocations: 0 / 0.9178 GB, free: 115.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/1.485, allocations: 0 / 0.9178 GB, free: 115.3 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.0005766/1.486, allocations: 439.1 kB / 0.9182 GB, free: 114.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/1.486, allocations: 12.03 kB / 0.9183 GB, free: 114.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/1.487, allocations: 112.7 kB / 0.9184 GB, free: 114.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/1.487, allocations: 220.2 kB / 0.9186 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/1.487, allocations: 4.375 kB / 0.9186 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/1.487, allocations: 384 / 0.9186 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/1.487, allocations: 91.89 kB / 0.9187 GB, free: 114.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.487, allocations: 4.188 kB / 0.9187 GB, free: 114.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/1.488, allocations: 7.922 kB / 0.9187 GB, free: 114.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/1.488, allocations: 0 / 0.9187 GB, free: 114.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/1.488, allocations: 47.89 kB / 0.9187 GB, free: 114.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/1.488, allocations: 206.9 kB / 0.9189 GB, free: 114 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004267/1.488, allocations: 129.1 kB / 0.919 GB, free: 113.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/1.488, allocations: 33.75 kB / 0.9191 GB, free: 113.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007231/1.489, allocations: 1.643 MB / 0.9207 GB, free: 111.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/1.489, allocations: 30.56 kB / 0.9207 GB, free: 111.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/1.489, allocations: 0 / 0.9207 GB, free: 111.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004298/1.49, allocations: 141.5 kB / 0.9208 GB, free: 111.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/1.49, allocations: 77.11 kB / 0.9209 GB, free: 111.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/1.49, allocations: 157.8 kB / 0.9211 GB, free: 111.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/1.49, allocations: 25.7 kB / 0.9211 GB, free: 111.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.202e-05/1.49, allocations: 80.14 kB / 0.9212 GB, free: 111.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/1.49, allocations: 27.64 kB / 0.9212 GB, free: 111.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/1.49, allocations: 3.938 kB / 0.9212 GB, free: 111.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.132e-05/1.49, allocations: 318.8 kB / 0.9215 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/1.49, allocations: 27.97 kB / 0.9215 GB, free: 110.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-05/1.49, allocations: 55.34 kB / 0.9216 GB, free: 110.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/1.49, allocations: 87.33 kB / 0.9217 GB, free: 110.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.49, allocations: 0 / 0.9217 GB, free: 110.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002754/1.491, allocations: 121.5 kB / 0.9218 GB, free: 110.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.491, allocations: 4 kB / 0.9218 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.491, allocations: 7.938 kB / 0.9218 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.491, allocations: 0 / 0.9218 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/1.491, allocations: 23.97 kB / 0.9218 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.491, allocations: 0 / 0.9218 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/1.491, allocations: 11.98 kB / 0.9218 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/1.491, allocations: 7.984 kB / 0.9218 GB, free: 110.6 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.245e-05/1.491, allocations: 121.8 kB / 0.9219 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/1.491, allocations: 11.84 kB / 0.922 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/1.492, allocations: 237.6 kB / 0.9222 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/1.492, allocations: 8.031 kB / 0.9222 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.492, allocations: 4 kB / 0.9222 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.492, allocations: 3.984 kB / 0.9222 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/1.492, allocations: 215.1 kB / 0.9224 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.492, allocations: 0 / 0.9224 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/1.492, allocations: 27.91 kB / 0.9224 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.492, allocations: 4 kB / 0.9224 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/1.492, allocations: 7.922 kB / 0.9224 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.492, allocations: 0 / 0.9224 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.492, allocations: 0 / 0.9224 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/1.492, allocations: 181.8 kB / 0.9226 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/1.493, allocations: 93.03 kB / 0.9227 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/1.493, allocations: 11.92 kB / 0.9227 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/1.493, allocations: 0 / 0.9227 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/1.493, allocations: 7.984 kB / 0.9227 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/1.493, allocations: 4 kB / 0.9227 GB, free: 109.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001262/1.493, allocations: 131.3 kB / 0.9229 GB, free: 109.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.493, allocations: 4 kB / 0.9229 GB, free: 109.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006077/1.494, allocations: 175.8 kB / 0.923 GB, free: 109.2 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.001208/1.495, allocations: 0.7177 MB / 0.9237 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002508/1.495, allocations: 75.88 kB / 0.9238 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.495, allocations: 0 / 0.9238 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/1.495, allocations: 39.91 kB / 0.9238 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/1.495, allocations: 18.39 kB / 0.9239 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/1.496, allocations: 361.7 kB / 0.9242 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/1.496, allocations: 0.6926 MB / 0.9249 GB, free: 107.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005026/1.497, allocations: 438.8 kB / 0.9253 GB, free: 106.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/1.497, allocations: 39.39 kB / 0.9253 GB, free: 106.8 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/1.497, allocations: 4 kB / 0.9253 GB, free: 106.8 MB / 458.7 MB Notification: Performance of Templates: time 0.01447/1.511, allocations: 11.43 MB / 0.9365 GB, free: 95.38 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)