Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001458/0.001458, allocations: 108.2 kB / 16.62 MB, free: 6.816 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.001706/0.001706, allocations: 189.9 kB / 17.55 MB, free: 5.949 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.351/1.351, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.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.001166/0.001166, allocations: 43.94 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08039/0.08157, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002352/0.08396, allocations: 1.414 MB / 327.5 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.2753/0.3593, allocations: 148.2 MB / 475.7 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.3594, allocations: 0 / 475.7 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.3594, allocations: 4 kB / 475.7 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007723/0.3602, allocations: 213.9 kB / 475.9 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.3616, allocations: 0.576 MB / 476.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.936e-05/0.3617, allocations: 55.67 kB / 476.6 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.3618, allocations: 0 / 476.6 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.3618, allocations: 31.91 kB / 476.6 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.3619, allocations: 27.91 kB / 476.6 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.3619, allocations: 0 / 476.6 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.3631, allocations: 0.8109 MB / 477.4 MB, free: 92 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.3632, allocations: 15.92 kB / 477.5 MB, free: 76 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.3632, allocations: 19.92 kB / 477.5 MB, free: 56 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008996/0.3641, allocations: 0.612 MB / 478.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3641, allocations: 2.719 kB / 478.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3641, allocations: 0 / 478.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3641, allocations: 0 / 478.1 MB, free: 15.44 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.0006836/0.3648, allocations: 455.8 kB / 478.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3649, allocations: 16.03 kB / 478.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.366, allocations: 97.2 kB / 478.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.3663, allocations: 224.3 kB / 478.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3663, allocations: 7.938 kB / 478.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.3664, allocations: 0 / 478.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.3666, allocations: 96.2 kB / 479 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.3666, allocations: 0 / 479 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.3666, allocations: 3.984 kB / 479 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3666, allocations: 4 kB / 479 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.3668, allocations: 43.89 kB / 479 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.3671, allocations: 210.7 kB / 479.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.3676, allocations: 125.1 kB / 479.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.3677, allocations: 37.77 kB / 479.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006095/0.3683, allocations: 0.9901 MB / 480.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3684, allocations: 37.69 kB / 480.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3684, allocations: 0 / 480.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000519/0.3689, allocations: 133.5 kB / 480.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.3689, allocations: 77.11 kB / 480.6 MB, free: 12.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.3692, allocations: 161.7 kB / 480.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3692, allocations: 25.7 kB / 480.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.3692, allocations: 88.14 kB / 480.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.3693, allocations: 23.73 kB / 480.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.3694, allocations: 29.61 kB / 480.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3695, allocations: 322.8 kB / 481.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3696, allocations: 27.97 kB / 481.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.3697, allocations: 44.36 kB / 481.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.37, allocations: 91.33 kB / 481.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.37, allocations: 3.938 kB / 481.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003361/0.3703, allocations: 122 kB / 481.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3704, allocations: 8 kB / 481.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3704, allocations: 0 / 481.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3704, allocations: 4 kB / 481.5 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.3705, allocations: 27.97 kB / 481.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3706, allocations: 0 / 481.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.3708, allocations: 8 kB / 481.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.3708, allocations: 15.92 kB / 481.6 MB, free: 11.44 MB / 382.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 8.765e-05/0.3709, allocations: 113.8 kB / 481.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.371, allocations: 7.906 kB / 481.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005859/0.3716, allocations: 249.7 kB / 482 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3716, allocations: 0 / 482 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3716, allocations: 4 kB / 482 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3716, allocations: 0 / 482 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.3718, allocations: 215.5 kB / 482.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3718, allocations: 4 kB / 482.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.3721, allocations: 27.97 kB / 482.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3721, allocations: 0 / 482.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3721, allocations: 0 / 482.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3721, allocations: 4.562 kB / 482.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3721, allocations: 0 / 482.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.3725, allocations: 181.8 kB / 482.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.3726, allocations: 93.03 kB / 482.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.3727, allocations: 7.938 kB / 482.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.3729, allocations: 3.984 kB / 482.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.3729, allocations: 7.984 kB / 482.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3729, allocations: 4 kB / 482.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.3731, allocations: 135.2 kB / 482.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3731, allocations: 0 / 482.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004959/0.3736, allocations: 167.9 kB / 482.8 MB, free: 10.14 MB / 382.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.0007773/0.3744, allocations: 385.2 kB / 483.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.3747, allocations: 79.98 kB / 483.3 MB, free: 9.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3747, allocations: 8 kB / 483.3 MB, free: 9.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.3748, allocations: 43.86 kB / 483.3 MB, free: 9.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.3751, allocations: 15.92 kB / 483.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.3756, allocations: 317.7 kB / 483.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.3758, allocations: 0.6924 MB / 484.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000601/0.3764, allocations: 437.1 kB / 484.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.3766, allocations: 43.39 kB / 484.8 MB, free: 8.094 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3766, allocations: 0 / 484.8 MB, free: 8.094 MB / 382.1 MB Notification: Performance of Templates: time 0.00954/0.3861, allocations: 6.089 MB / 490.9 MB, free: 1.996 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)