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.0007837/0.0007838, allocations: 92.55 kB / 16.65 MB, free: 6.59 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.0007994/0.0007994, allocations: 182.1 kB / 17.56 MB, free: 6.203 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.315/1.315, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.000457/0.000457, allocations: 12 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.08904, allocations: 47.59 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001681/0.09079, allocations: 1.079 MB / 329.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3138/0.4046, allocations: 146.5 MB / 475.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.4047, allocations: 0 / 475.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.4048, allocations: 7.922 kB / 475.9 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000858/0.4056, allocations: 195.1 kB / 476.1 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.4072, allocations: 0.5281 MB / 476.6 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.804e-05/0.4073, allocations: 51.67 kB / 476.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.4073, allocations: 7.984 kB / 476.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.4073, allocations: 31.86 kB / 476.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.4074, allocations: 23.92 kB / 476.8 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.4075, allocations: 4 kB / 476.8 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.4088, allocations: 0.7875 MB / 477.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.4088, allocations: 11.97 kB / 477.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.4088, allocations: 49.58 kB / 477.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008195/0.4097, allocations: 0.6119 MB / 478.2 MB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4097, allocations: 4 kB / 478.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4097, allocations: 4 kB / 478.2 MB, free: 3.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.4097, allocations: 0 / 478.2 MB, free: 3.891 MB / 366.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.0004995/0.4102, allocations: 439.9 kB / 478.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.4103, allocations: 8.031 kB / 478.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.4113, allocations: 96.7 kB / 478.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.4116, allocations: 220.4 kB / 479 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4116, allocations: 3.938 kB / 479 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.4116, allocations: 10.25 kB / 479 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.4119, allocations: 84.2 kB / 479.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4119, allocations: 3.984 kB / 479.1 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.4119, allocations: 11.94 kB / 479.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4119, allocations: 0 / 479.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.4121, allocations: 47.89 kB / 479.1 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002485/0.4123, allocations: 218.6 kB / 479.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.4128, allocations: 125.1 kB / 479.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.4129, allocations: 41.7 kB / 479.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006043/0.4135, allocations: 0.9823 MB / 480.5 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.4136, allocations: 40.31 kB / 480.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.4136, allocations: 0 / 480.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004554/0.414, allocations: 125.5 kB / 480.7 MB, free: 1.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.4141, allocations: 81.09 kB / 480.7 MB, free: 0.957 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.4143, allocations: 157.8 kB / 480.9 MB, free: 0.793 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.4143, allocations: 29.7 kB / 480.9 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.4144, allocations: 88.12 kB / 481 MB, free: 0.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.4144, allocations: 23.64 kB / 481 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.4145, allocations: 13.72 kB / 481 MB, free: 0.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4146, allocations: 314.8 kB / 481.3 MB, free: 316 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4147, allocations: 27.97 kB / 481.4 MB, free: 288 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.4148, allocations: 55.41 kB / 481.4 MB, free: 220 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.4151, allocations: 83.33 kB / 481.5 MB, free: 124 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4151, allocations: 3.938 kB / 481.5 MB, free: 120 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003434/0.4154, allocations: 129.9 kB / 481.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4155, allocations: 4 kB / 481.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4155, allocations: 4 kB / 481.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.4155, allocations: 0 / 481.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.4156, allocations: 27.91 kB / 481.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4156, allocations: 0.7812 kB / 481.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.4158, allocations: 7.984 kB / 481.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.4159, allocations: 11.98 kB / 481.7 MB, free: 15.93 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.862e-05/0.416, allocations: 121.8 kB / 481.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.416, allocations: 7.906 kB / 481.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/0.4165, allocations: 235.2 kB / 482 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4166, allocations: 0 / 482 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4166, allocations: 4 kB / 482.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4166, allocations: 0 / 482.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.4168, allocations: 227.3 kB / 482.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4168, allocations: 0 / 482.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.417, allocations: 23.97 kB / 482.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.417, allocations: 0 / 482.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.417, allocations: 7.984 kB / 482.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.417, allocations: 0 / 482.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.417, allocations: 4 kB / 482.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.4174, allocations: 173.7 kB / 482.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.4175, allocations: 101 kB / 482.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.4175, allocations: 0 / 482.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.4177, allocations: 11.98 kB / 482.6 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.4178, allocations: 4 kB / 482.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.4178, allocations: 3.984 kB / 482.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.418, allocations: 143.8 kB / 482.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.418, allocations: 0 / 482.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005574/0.4185, allocations: 171.9 kB / 482.9 MB, free: 14.62 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.0007702/0.4193, allocations: 394.9 kB / 483.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.4196, allocations: 71.88 kB / 483.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4196, allocations: 4 kB / 483.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.4197, allocations: 35.92 kB / 483.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.42, allocations: 15.92 kB / 483.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.4205, allocations: 357.3 kB / 483.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.4208, allocations: 0.6887 MB / 484.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005791/0.4213, allocations: 431 kB / 484.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.4215, allocations: 39.39 kB / 484.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4215, allocations: 4 kB / 484.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of Templates: time 0.009697/0.4312, allocations: 5.955 MB / 490.9 MB, free: 6.59 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)