Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01096/0.01096, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.276/1.276, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001671/0.001671, allocations: 114.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2398, allocations: 38.77 MB / 312.9 MB, free: 38.69 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/1.548, allocations: 0.5851 GB / 0.8906 GB, free: 85.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.548, allocations: 67.97 kB / 0.8907 GB, free: 85.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08706/1.635, allocations: 41.75 MB / 0.9314 GB, free: 43.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/1.635, allocations: 3.938 kB / 0.9315 GB, free: 43.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/1.635, allocations: 0 / 0.9315 GB, free: 43.94 MB / 362.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.0007235/1.636, allocations: 466.8 kB / 0.9319 GB, free: 43.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.636, allocations: 8.031 kB / 0.9319 GB, free: 43.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/1.637, allocations: 91.86 kB / 0.932 GB, free: 43.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/1.637, allocations: 214.9 kB / 0.9322 GB, free: 43.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/1.637, allocations: 7.984 kB / 0.9322 GB, free: 43.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/1.637, allocations: 4 kB / 0.9322 GB, free: 43.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/1.638, allocations: 95.28 kB / 0.9323 GB, free: 42.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/1.638, allocations: 0 / 0.9323 GB, free: 42.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/1.638, allocations: 0 / 0.9323 GB, free: 42.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/1.638, allocations: 3.938 kB / 0.9323 GB, free: 42.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/1.638, allocations: 51.89 kB / 0.9324 GB, free: 42.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/1.638, allocations: 202.9 kB / 0.9325 GB, free: 42.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/1.638, allocations: 125.2 kB / 0.9327 GB, free: 42.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/1.639, allocations: 1.387 MB / 0.934 GB, free: 40.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/1.639, allocations: 30.56 kB / 0.934 GB, free: 40.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/1.639, allocations: 0 / 0.934 GB, free: 40.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004369/1.64, allocations: 137.4 kB / 0.9342 GB, free: 40.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/1.64, allocations: 77.11 kB / 0.9343 GB, free: 40.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/1.64, allocations: 148.9 kB / 0.9344 GB, free: 40.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/1.64, allocations: 25.7 kB / 0.9344 GB, free: 40.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/1.64, allocations: 88.14 kB / 0.9345 GB, free: 40.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/1.64, allocations: 23.66 kB / 0.9345 GB, free: 40.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/1.64, allocations: 0 / 0.9345 GB, free: 40.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.296e-05/1.64, allocations: 314.8 kB / 0.9348 GB, free: 39.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/1.64, allocations: 31.97 kB / 0.9349 GB, free: 39.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/1.64, allocations: 51.36 kB / 0.9349 GB, free: 39.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/1.64, allocations: 35.97 kB / 0.9349 GB, free: 39.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.64, allocations: 7.953 kB / 0.9349 GB, free: 39.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002708/1.641, allocations: 113.6 kB / 0.9351 GB, free: 39.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.641, allocations: 4 kB / 0.9351 GB, free: 39.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.641, allocations: 0 / 0.9351 GB, free: 39.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.641, allocations: 4.469 kB / 0.9351 GB, free: 39.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/1.641, allocations: 23.91 kB / 0.9351 GB, free: 39.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/1.641, allocations: 12.05 kB / 0.9351 GB, free: 39.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/1.641, allocations: 8 kB / 0.9351 GB, free: 39.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/1.641, allocations: 11.92 kB / 0.9351 GB, free: 39.64 MB / 362.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.237e-05/1.641, allocations: 109.8 kB / 0.9352 GB, free: 39.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/1.641, allocations: 11.86 kB / 0.9352 GB, free: 39.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/1.642, allocations: 249.1 kB / 0.9355 GB, free: 39.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.642, allocations: 7.984 kB / 0.9355 GB, free: 39.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.642, allocations: 0 / 0.9355 GB, free: 39.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.642, allocations: 64 / 0.9355 GB, free: 39.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/1.642, allocations: 215.6 kB / 0.9357 GB, free: 39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.642, allocations: 3.953 kB / 0.9357 GB, free: 38.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/1.642, allocations: 31.89 kB / 0.9357 GB, free: 38.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.642, allocations: 0 / 0.9357 GB, free: 38.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/1.642, allocations: 4 kB / 0.9357 GB, free: 38.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.642, allocations: 4 kB / 0.9357 GB, free: 38.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.642, allocations: 0 / 0.9357 GB, free: 38.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/1.642, allocations: 187.4 kB / 0.9359 GB, free: 38.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/1.643, allocations: 97.11 kB / 0.936 GB, free: 38.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/1.643, allocations: 0 / 0.936 GB, free: 38.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/1.643, allocations: 8.062 kB / 0.936 GB, free: 38.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/1.643, allocations: 11.98 kB / 0.936 GB, free: 38.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/1.643, allocations: 0 / 0.936 GB, free: 38.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001595/1.643, allocations: 131.2 kB / 0.9361 GB, free: 38.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.643, allocations: 0 / 0.9361 GB, free: 38.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009025/1.644, allocations: 227.7 kB / 0.9364 GB, free: 38.26 MB / 362.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.001406/1.645, allocations: 0.8425 MB / 0.9372 GB, free: 37.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000273/1.646, allocations: 75.88 kB / 0.9373 GB, free: 37.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.646, allocations: 0 / 0.9373 GB, free: 37.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/1.646, allocations: 44.09 kB / 0.9373 GB, free: 37.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/1.646, allocations: 17.19 kB / 0.9373 GB, free: 37.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/1.646, allocations: 365.6 kB / 0.9377 GB, free: 36.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/1.647, allocations: 0.6887 MB / 0.9383 GB, free: 36.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000479/1.647, allocations: 430.8 kB / 0.9387 GB, free: 35.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/1.647, allocations: 43.38 kB / 0.9388 GB, free: 35.73 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/1.647, allocations: 0 / 0.9388 GB, free: 35.73 MB / 362.7 MB Notification: Performance of Templates: time 0.01466/1.662, allocations: 12.14 MB / 0.9506 GB, free: 23.57 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)