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.0008222/0.0008222, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005047/0.005047, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.000474/0.0004742, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2154, allocations: 47.59 MB / 327 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001181/0.2166, allocations: 1.079 MB / 328.1 MB, free: 0.5547 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3485/0.5651, allocations: 146.5 MB / 474.6 MB, free: 15.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.5652, allocations: 0 / 474.6 MB, free: 15.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.5652, allocations: 5.906 kB / 474.6 MB, free: 15.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009898/0.5662, allocations: 199.9 kB / 474.8 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.5681, allocations: 0.5306 MB / 475.4 MB, free: 15.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.5682, allocations: 58.36 kB / 475.4 MB, free: 15.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.5683, allocations: 5.547 kB / 475.4 MB, free: 15.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.5684, allocations: 22.25 kB / 475.4 MB, free: 15.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.5684, allocations: 30.86 kB / 475.5 MB, free: 15.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.5685, allocations: 2.094 kB / 475.5 MB, free: 15.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.5704, allocations: 0.7922 MB / 476.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.5704, allocations: 13.38 kB / 476.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.5705, allocations: 47.31 kB / 476.3 MB, free: 15.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.5719, allocations: 0.6107 MB / 476.9 MB, free: 15.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5719, allocations: 0 / 476.9 MB, free: 15.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5719, allocations: 0 / 476.9 MB, free: 15.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.5719, allocations: 0 / 476.9 MB, free: 15.11 MB / 398.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.0007459/0.5726, allocations: 442.5 kB / 477.4 MB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5727, allocations: 11.22 kB / 477.4 MB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.5743, allocations: 102.2 kB / 477.5 MB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.5747, allocations: 217.4 kB / 477.7 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.5747, allocations: 7.156 kB / 477.7 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.5748, allocations: 3.938 kB / 477.7 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.5751, allocations: 102.3 kB / 477.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5751, allocations: 0 / 477.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.5751, allocations: 0 / 477.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5751, allocations: 0 / 477.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.5754, allocations: 44.61 kB / 477.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.5758, allocations: 216 kB / 478.1 MB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/0.5764, allocations: 122.5 kB / 478.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.5766, allocations: 37.81 kB / 478.2 MB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008552/0.5775, allocations: 0.9875 MB / 479.2 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.5775, allocations: 40.62 kB / 479.2 MB, free: 12.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.998e-06/0.5775, allocations: 3.984 kB / 479.2 MB, free: 12.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006498/0.5782, allocations: 132.8 kB / 479.4 MB, free: 12.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.5783, allocations: 79.92 kB / 479.4 MB, free: 12.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.5785, allocations: 155.5 kB / 479.6 MB, free: 12.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.5786, allocations: 25.7 kB / 479.6 MB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.5786, allocations: 82.95 kB / 479.7 MB, free: 12.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.5787, allocations: 23.89 kB / 479.7 MB, free: 12.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.5788, allocations: 13.59 kB / 479.7 MB, free: 12.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5789, allocations: 323 kB / 480.1 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.579, allocations: 29.11 kB / 480.1 MB, free: 12.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.5792, allocations: 50.7 kB / 480.1 MB, free: 12.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.5795, allocations: 87.38 kB / 480.2 MB, free: 12.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5795, allocations: 7.062 kB / 480.2 MB, free: 12.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004847/0.58, allocations: 116.2 kB / 480.3 MB, free: 12.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5801, allocations: 10.12 kB / 480.4 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5801, allocations: 0 / 480.4 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.5801, allocations: 3.5 kB / 480.4 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.5803, allocations: 24.58 kB / 480.4 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.5803, allocations: 6.688 kB / 480.4 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.5806, allocations: 5.75 kB / 480.4 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.5806, allocations: 5.5 kB / 480.4 MB, free: 12.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.5808, allocations: 118.9 kB / 480.5 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.5808, allocations: 9 kB / 480.5 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007205/0.5816, allocations: 237.4 kB / 480.8 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.5816, allocations: 3 kB / 480.8 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5816, allocations: 0 / 480.8 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5816, allocations: 0 / 480.8 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.5819, allocations: 219.3 kB / 481 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5819, allocations: 3.156 kB / 481 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.5822, allocations: 21.08 kB / 481 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.5822, allocations: 4 kB / 481 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.5822, allocations: 6.109 kB / 481 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5822, allocations: 3.938 kB / 481 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5823, allocations: 0 / 481 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/0.5828, allocations: 185.6 kB / 481.2 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.583, allocations: 94.62 kB / 481.3 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/0.583, allocations: 7.438 kB / 481.3 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.5833, allocations: 7.109 kB / 481.3 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.5834, allocations: 9.859 kB / 481.3 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.5834, allocations: 2.844 kB / 481.3 MB, free: 11.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.5836, allocations: 131.3 kB / 481.4 MB, free: 11.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5837, allocations: 2.938 kB / 481.4 MB, free: 11.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008655/0.5845, allocations: 167.7 kB / 481.6 MB, free: 11.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/0.5857, allocations: 398.2 kB / 482 MB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.5861, allocations: 78.23 kB / 482.1 MB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5861, allocations: 0 / 482.1 MB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.5863, allocations: 45.05 kB / 482.1 MB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.5867, allocations: 12.8 kB / 482.1 MB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007966/0.5875, allocations: 359.1 kB / 482.5 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.5878, allocations: 0.6875 MB / 483.2 MB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008117/0.5887, allocations: 428.9 kB / 483.6 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.5889, allocations: 45.61 kB / 483.6 MB, free: 10.32 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5889, allocations: 2.625 kB / 483.6 MB, free: 10.32 MB / 398.1 MB Notification: Performance of Templates: time 0.01437/0.6033, allocations: 5.946 MB / 489.6 MB, free: 8.422 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)