Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008923/0.000892, 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.001201/0.001201, 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.438/1.438, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.0006437/0.0006438, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2272, allocations: 47.59 MB / 326.5 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001063/0.2284, allocations: 1.068 MB / 327.5 MB, free: 0.5781 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3424/0.5708, allocations: 136.5 MB / 464.1 MB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.5709, allocations: 0 / 464.1 MB, free: 1.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.5709, allocations: 3.797 kB / 464.1 MB, free: 1.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008149/0.5718, allocations: 187.4 kB / 464.3 MB, free: 1.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.5732, allocations: 479.1 kB / 464.7 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.516e-05/0.5733, allocations: 53.38 kB / 464.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.5734, allocations: 1.875 kB / 464.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.834e-05/0.5734, allocations: 28.09 kB / 464.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.5735, allocations: 23.12 kB / 464.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.5735, allocations: 1.656 kB / 464.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.5751, allocations: 0.6246 MB / 465.5 MB, free: 1.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.5751, allocations: 17.05 kB / 465.5 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.5751, allocations: 29.83 kB / 465.5 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006676/0.5758, allocations: 366.9 kB / 465.9 MB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.5758, allocations: 0 / 465.9 MB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5758, allocations: 0 / 465.9 MB, free: 1.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.5758, allocations: 2.531 kB / 465.9 MB, free: 1.887 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.000858/0.5767, allocations: 437.9 kB / 466.3 MB, free: 17.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5767, allocations: 9.281 kB / 466.3 MB, free: 17.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.5778, allocations: 101.6 kB / 466.4 MB, free: 17.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.5781, allocations: 226.5 kB / 466.6 MB, free: 17.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.5782, allocations: 1.531 kB / 466.6 MB, free: 17.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.5782, allocations: 2.125 kB / 466.6 MB, free: 17.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.5784, allocations: 92.52 kB / 466.7 MB, free: 17.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.5785, allocations: 4 kB / 466.7 MB, free: 17.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.5785, allocations: 3.844 kB / 466.7 MB, free: 17.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.5785, allocations: 0.5938 kB / 466.7 MB, free: 17.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.5787, allocations: 46.48 kB / 466.8 MB, free: 17.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.5789, allocations: 211.8 kB / 467 MB, free: 17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.5794, allocations: 124.8 kB / 467.1 MB, free: 16.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.5795, allocations: 37.2 kB / 467.1 MB, free: 16.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007362/0.5803, allocations: 0.9879 MB / 468.1 MB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.5803, allocations: 32.22 kB / 468.2 MB, free: 15.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.5803, allocations: 0.6875 kB / 468.2 MB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004312/0.5807, allocations: 136.5 kB / 468.3 MB, free: 15.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.5808, allocations: 81.8 kB / 468.4 MB, free: 15.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.581, allocations: 155.3 kB / 468.5 MB, free: 15.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.581, allocations: 25.7 kB / 468.5 MB, free: 15.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.5811, allocations: 85.42 kB / 468.6 MB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.5811, allocations: 28.16 kB / 468.7 MB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/0.5811, allocations: 2.906 kB / 468.7 MB, free: 15.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5812, allocations: 322.8 kB / 469 MB, free: 15.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.5813, allocations: 32.38 kB / 469 MB, free: 15.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.843e-05/0.5814, allocations: 48.44 kB / 469.1 MB, free: 15.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.615e-05/0.5815, allocations: 35.17 kB / 469.1 MB, free: 15.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5815, allocations: 0 / 469.1 MB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002744/0.5818, allocations: 122.6 kB / 469.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5818, allocations: 5.094 kB / 469.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5818, allocations: 0.5625 kB / 469.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.5819, allocations: 2.938 kB / 469.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.582, allocations: 29.66 kB / 469.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.582, allocations: 0 / 469.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.5822, allocations: 14.17 kB / 469.3 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.5822, allocations: 11.52 kB / 469.3 MB, free: 15.01 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 0.0001007/0.5823, allocations: 120 kB / 469.4 MB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.5824, allocations: 5.344 kB / 469.4 MB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005641/0.5829, allocations: 244.1 kB / 469.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.5829, allocations: 0 / 469.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.583, allocations: 0 / 469.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.583, allocations: 2.125 kB / 469.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.5832, allocations: 220.6 kB / 469.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5832, allocations: 0 / 469.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.5833, allocations: 23.53 kB / 469.9 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.5834, allocations: 3.156 kB / 469.9 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.5834, allocations: 2.125 kB / 469.9 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5834, allocations: 0 / 469.9 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5834, allocations: 2.094 kB / 469.9 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.5838, allocations: 177.8 kB / 470.1 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.952e-05/0.5839, allocations: 99.7 kB / 470.1 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.584, allocations: 6.219 kB / 470.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.5841, allocations: 3.219 kB / 470.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.5842, allocations: 10.52 kB / 470.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.5842, allocations: 4.828 kB / 470.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.5843, allocations: 131.5 kB / 470.3 MB, free: 14.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.92e-07/0.5843, allocations: 0 / 470.3 MB, free: 14.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006385/0.585, allocations: 166.9 kB / 470.5 MB, free: 14.36 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.0009775/0.586, allocations: 380.9 kB / 470.8 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.5863, allocations: 73.89 kB / 470.9 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5863, allocations: 0 / 470.9 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.5864, allocations: 40.22 kB / 470.9 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.5866, allocations: 11.33 kB / 471 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.5872, allocations: 379.2 kB / 471.3 MB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.5874, allocations: 0.6886 MB / 472 MB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005015/0.5879, allocations: 428.8 kB / 472.4 MB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.588, allocations: 39.89 kB / 472.5 MB, free: 13.22 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5881, allocations: 0 / 472.5 MB, free: 13.22 MB / 398.1 MB Notification: Performance of Templates: time 0.009034/0.5971, allocations: 5.874 MB / 478.3 MB, free: 12.59 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)