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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004751, allocations: 11.98 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2252, allocations: 47.58 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001034/0.2262, allocations: 1.065 MB / 327.5 MB, free: 0.5625 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3407/0.567, allocations: 136.5 MB / 464.1 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.847e-05/0.5671, allocations: 0 / 464.1 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.5671, allocations: 6.219 kB / 464.1 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007108/0.5678, allocations: 185.5 kB / 464.3 MB, free: 1.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.5691, allocations: 485.8 kB / 464.7 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.5692, allocations: 48.8 kB / 464.8 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.5693, allocations: 5.906 kB / 464.8 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.5693, allocations: 22.91 kB / 464.8 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.5694, allocations: 27.39 kB / 464.8 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.5694, allocations: 1.938 kB / 464.8 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.5706, allocations: 0.6217 MB / 465.5 MB, free: 1.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.5707, allocations: 10.64 kB / 465.5 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.5707, allocations: 34.95 kB / 465.5 MB, free: 1.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.5712, allocations: 365 kB / 465.9 MB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5712, allocations: 0 / 465.9 MB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5712, allocations: 0 / 465.9 MB, free: 1.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.5712, allocations: 0 / 465.9 MB, free: 1.855 MB / 382.1 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.0006243/0.5719, allocations: 439 kB / 466.3 MB, free: 17.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.5719, allocations: 12.81 kB / 466.3 MB, free: 17.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009319/0.5728, allocations: 102.2 kB / 466.4 MB, free: 17.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.5731, allocations: 222.4 kB / 466.6 MB, free: 17.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.5731, allocations: 3.969 kB / 466.6 MB, free: 17.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.5732, allocations: 5.781 kB / 466.6 MB, free: 17.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.5733, allocations: 90.14 kB / 466.7 MB, free: 17.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.5734, allocations: 6.734 kB / 466.7 MB, free: 17.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.5734, allocations: 0.9375 kB / 466.7 MB, free: 17.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.5734, allocations: 1 kB / 466.7 MB, free: 17.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.5735, allocations: 47.48 kB / 466.8 MB, free: 17.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.5738, allocations: 210 kB / 467 MB, free: 16.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.5742, allocations: 128.7 kB / 467.1 MB, free: 16.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.5743, allocations: 35.98 kB / 467.1 MB, free: 16.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007715/0.5751, allocations: 0.9862 MB / 468.1 MB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.5751, allocations: 41.91 kB / 468.2 MB, free: 15.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.5752, allocations: 0 / 468.2 MB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004079/0.5756, allocations: 137.9 kB / 468.3 MB, free: 15.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.5756, allocations: 77.11 kB / 468.4 MB, free: 15.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.5758, allocations: 163.7 kB / 468.5 MB, free: 15.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.5758, allocations: 25.7 kB / 468.6 MB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.5759, allocations: 83.58 kB / 468.6 MB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.5759, allocations: 24.25 kB / 468.7 MB, free: 15.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.5759, allocations: 0 / 468.7 MB, free: 15.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.576, allocations: 324.8 kB / 469 MB, free: 15.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/0.5761, allocations: 27.16 kB / 469 MB, free: 15.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.5e-05/0.5762, allocations: 54.41 kB / 469.1 MB, free: 15.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/0.5763, allocations: 27.16 kB / 469.1 MB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5763, allocations: 0 / 469.1 MB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002649/0.5766, allocations: 124.1 kB / 469.2 MB, free: 14.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.5766, allocations: 6.25 kB / 469.2 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5766, allocations: 2.734 kB / 469.2 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5766, allocations: 3.094 kB / 469.2 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.5768, allocations: 21.23 kB / 469.2 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.5768, allocations: 2.953 kB / 469.2 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.5769, allocations: 12.25 kB / 469.3 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.577, allocations: 8.844 kB / 469.3 MB, free: 14.98 MB / 398.1 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 8.906e-05/0.5771, allocations: 120.5 kB / 469.4 MB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.5771, allocations: 2.781 kB / 469.4 MB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.5776, allocations: 241 kB / 469.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5776, allocations: 3 kB / 469.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5776, allocations: 3.312 kB / 469.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5776, allocations: 0 / 469.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.5778, allocations: 221.5 kB / 469.8 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5778, allocations: 0 / 469.8 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.5779, allocations: 22.11 kB / 469.9 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.5779, allocations: 2.344 kB / 469.9 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.578, allocations: 3.25 kB / 469.9 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.578, allocations: 2.906 kB / 469.9 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.578, allocations: 6.906 kB / 469.9 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.5783, allocations: 170.5 kB / 470 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.5784, allocations: 103.9 kB / 470.1 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.5784, allocations: 6.484 kB / 470.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.5786, allocations: 5.312 kB / 470.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.5786, allocations: 12.06 kB / 470.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.5787, allocations: 6.156 kB / 470.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.5788, allocations: 131.2 kB / 470.3 MB, free: 14.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5788, allocations: 0 / 470.3 MB, free: 14.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005414/0.5794, allocations: 165.3 kB / 470.5 MB, free: 14.32 MB / 398.1 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.0007562/0.5801, allocations: 389.1 kB / 470.8 MB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.5804, allocations: 72.91 kB / 470.9 MB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5804, allocations: 3.641 kB / 470.9 MB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.708e-05/0.5805, allocations: 39.2 kB / 471 MB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.5807, allocations: 12.77 kB / 471 MB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.5812, allocations: 358.4 kB / 471.3 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.5815, allocations: 0.6911 MB / 472 MB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004915/0.582, allocations: 430.8 kB / 472.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.5821, allocations: 47.47 kB / 472.5 MB, free: 13.18 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5821, allocations: 0 / 472.5 MB, free: 13.18 MB / 398.1 MB Notification: Performance of Templates: time 0.008349/0.5905, allocations: 5.874 MB / 478.4 MB, free: 12.55 MB / 398.1 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)