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.001078/0.001078, allocations: 103.7 kB / 17.05 MB, free: 5.777 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.001274/0.001274, allocations: 199.9 kB / 18 MB, free: 4.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.338/1.338, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001171/0.001171, allocations: 47.94 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07788/0.07906, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002635/0.08174, allocations: 1.353 MB / 375.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3174/0.3991, allocations: 150.4 MB / 0.5139 GB, free: 7.469 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.3993, allocations: 0 / 0.5139 GB, free: 7.469 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.3993, allocations: 3.938 kB / 0.5139 GB, free: 7.465 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008813/0.4002, allocations: 246.8 kB / 0.5141 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.4019, allocations: 0.6205 MB / 0.5147 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.402, allocations: 63.64 kB / 0.5148 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.402, allocations: 0 / 0.5148 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.282e-05/0.4021, allocations: 27.86 kB / 0.5148 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.697e-05/0.4022, allocations: 31.91 kB / 0.5148 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.4022, allocations: 0 / 0.5148 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.4037, allocations: 0.8889 MB / 0.5157 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.4038, allocations: 11.98 kB / 0.5157 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.4038, allocations: 19.86 kB / 0.5157 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00096/0.4048, allocations: 0.6003 MB / 0.5163 GB, free: 4.961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4048, allocations: 0 / 0.5163 GB, free: 4.961 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4048, allocations: 0 / 0.5163 GB, free: 4.961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.4048, allocations: 3.984 kB / 0.5163 GB, free: 4.957 MB / 446.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.0006101/0.4054, allocations: 447.9 kB / 0.5167 GB, free: 4.473 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4055, allocations: 8.031 kB / 0.5167 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.4066, allocations: 100.7 kB / 0.5168 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.4069, allocations: 220.4 kB / 0.517 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.407, allocations: 7.938 kB / 0.5171 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.407, allocations: 4 kB / 0.5171 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.4072, allocations: 99.27 kB / 0.5172 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4073, allocations: 0 / 0.5172 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4073, allocations: 0 / 0.5172 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4073, allocations: 0 / 0.5172 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.4075, allocations: 43.95 kB / 0.5172 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.4078, allocations: 206.8 kB / 0.5174 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/0.4083, allocations: 133 kB / 0.5175 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.4084, allocations: 41.75 kB / 0.5176 GB, free: 3.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005938/0.409, allocations: 0.9823 MB / 0.5185 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.409, allocations: 34.55 kB / 0.5186 GB, free: 2.254 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.409, allocations: 0 / 0.5186 GB, free: 2.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004874/0.4095, allocations: 133.5 kB / 0.5187 GB, free: 2.117 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.4096, allocations: 81.09 kB / 0.5188 GB, free: 2.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.4098, allocations: 153.8 kB / 0.5189 GB, free: 1.859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.4098, allocations: 25.7 kB / 0.5189 GB, free: 1.828 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.4099, allocations: 88.08 kB / 0.519 GB, free: 1.738 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.4099, allocations: 27.64 kB / 0.519 GB, free: 1.711 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.41, allocations: 33.69 kB / 0.5191 GB, free: 1.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.4101, allocations: 318.8 kB / 0.5194 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.4102, allocations: 24.84 kB / 0.5194 GB, free: 1.328 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.4103, allocations: 55.39 kB / 0.5194 GB, free: 1.262 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.4106, allocations: 87.34 kB / 0.5195 GB, free: 1.164 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4106, allocations: 3.938 kB / 0.5195 GB, free: 1.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003579/0.4109, allocations: 121.4 kB / 0.5197 GB, free: 1.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.411, allocations: 8 kB / 0.5197 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.411, allocations: 0 / 0.5197 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.411, allocations: 0 / 0.5197 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.4112, allocations: 30.34 kB / 0.5197 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4112, allocations: 8 kB / 0.5197 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.4114, allocations: 4 kB / 0.5197 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.4114, allocations: 11.98 kB / 0.5197 GB, free: 0.9766 MB / 446.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.99e-05/0.4115, allocations: 113.8 kB / 0.5198 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.4115, allocations: 15.84 kB / 0.5198 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006275/0.4122, allocations: 237.7 kB / 0.5201 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4122, allocations: 0 / 0.5201 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.4122, allocations: 0 / 0.5201 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4122, allocations: 0 / 0.5201 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.4124, allocations: 218.9 kB / 0.5203 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4124, allocations: 0 / 0.5203 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.4126, allocations: 27.91 kB / 0.5203 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4126, allocations: 4 kB / 0.5203 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.4126, allocations: 4 kB / 0.5203 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4126, allocations: 4 kB / 0.5203 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4127, allocations: 0 / 0.5203 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.4131, allocations: 179.1 kB / 0.5205 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.964e-05/0.4132, allocations: 93.02 kB / 0.5206 GB, free: 0 / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.4132, allocations: 8.109 kB / 0.5206 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.4134, allocations: 4 kB / 0.5206 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.4135, allocations: 11.92 kB / 0.5206 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.4135, allocations: 4 kB / 0.5206 GB, free: 15.97 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.4136, allocations: 129.6 kB / 0.5207 GB, free: 15.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4137, allocations: 0 / 0.5207 GB, free: 15.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000559/0.4142, allocations: 175.9 kB / 0.5209 GB, free: 15.68 MB / 462.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.0008407/0.4151, allocations: 395.6 kB / 0.5213 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.4154, allocations: 79.86 kB / 0.5213 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4154, allocations: 0 / 0.5213 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.4155, allocations: 44.05 kB / 0.5214 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.4157, allocations: 15.92 kB / 0.5214 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.4163, allocations: 296.3 kB / 0.5217 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.4165, allocations: 0.6924 MB / 0.5224 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005065/0.4171, allocations: 434.8 kB / 0.5228 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.4172, allocations: 43.39 kB / 0.5228 GB, free: 13.65 MB / 462.1 MB Notification: Performance of SimCode: time 3e-07/0.4172, allocations: 0 / 0.5228 GB, free: 13.65 MB / 462.1 MB Notification: Performance of Templates: time 0.009855/0.4271, allocations: 6.176 MB / 0.5288 GB, free: 7.473 MB / 462.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)