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.001044/0.001044, allocations: 85.98 kB / 16.31 MB, free: 6.449 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.001464/0.001464, allocations: 180.6 kB / 17.21 MB, free: 6.32 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.401/1.401, allocations: 205.4 MB / 223.4 MB, free: 5.48 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.0004364/0.0004364, allocations: 8 kB / 280.1 MB, free: 12.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.226, allocations: 47.59 MB / 327.7 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001312/0.2274, allocations: 1.072 MB / 328.8 MB, free: 0.5781 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3694/0.5968, allocations: 136.5 MB / 465.3 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.785e-05/0.5969, allocations: 0.6562 kB / 465.3 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.5969, allocations: 1.875 kB / 465.3 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007923/0.5977, allocations: 186.7 kB / 465.5 MB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.599, allocations: 493.1 kB / 466 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.647e-05/0.599, allocations: 48.28 kB / 466 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.5991, allocations: 5.172 kB / 466 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.623e-05/0.5991, allocations: 17.69 kB / 466.1 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.5992, allocations: 31.98 kB / 466.1 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.5992, allocations: 2.156 kB / 466.1 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.6005, allocations: 0.6273 MB / 466.7 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.6005, allocations: 4.688 kB / 466.7 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.6006, allocations: 38.69 kB / 466.8 MB, free: 1.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.6011, allocations: 362.7 kB / 467.1 MB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6011, allocations: 0 / 467.1 MB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6011, allocations: 0.9688 kB / 467.1 MB, free: 1.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.6011, allocations: 0 / 467.1 MB, free: 1.836 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.000614/0.6017, allocations: 442.7 kB / 467.6 MB, free: 17.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/0.6018, allocations: 9.5 kB / 467.6 MB, free: 17.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009905/0.6028, allocations: 99.92 kB / 467.7 MB, free: 17.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.6031, allocations: 223.4 kB / 467.9 MB, free: 17.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.6031, allocations: 1.688 kB / 467.9 MB, free: 17.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.6031, allocations: 9.469 kB / 467.9 MB, free: 17.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.6033, allocations: 94.06 kB / 468 MB, free: 17.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.6034, allocations: 1.156 kB / 468 MB, free: 17.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.6034, allocations: 0 / 468 MB, free: 17.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6034, allocations: 0.6875 kB / 468 MB, free: 17.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.6035, allocations: 48.09 kB / 468 MB, free: 17.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.6038, allocations: 204.6 kB / 468.2 MB, free: 16.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.6042, allocations: 129.8 kB / 468.4 MB, free: 16.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.6043, allocations: 37.12 kB / 468.4 MB, free: 16.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007048/0.605, allocations: 0.9849 MB / 469.4 MB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.6051, allocations: 34.2 kB / 469.4 MB, free: 15.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.6051, allocations: 5.094 kB / 469.4 MB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004145/0.6055, allocations: 135.5 kB / 469.5 MB, free: 15.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.6055, allocations: 77.11 kB / 469.6 MB, free: 15.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.6057, allocations: 160.5 kB / 469.8 MB, free: 15.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.6058, allocations: 28.44 kB / 469.8 MB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.6058, allocations: 85.52 kB / 469.9 MB, free: 15.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.6058, allocations: 25.86 kB / 469.9 MB, free: 15.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-06/0.6058, allocations: 4 kB / 469.9 MB, free: 15.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.606, allocations: 321.2 kB / 470.2 MB, free: 15.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.464e-05/0.606, allocations: 24.52 kB / 470.3 MB, free: 15.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.352e-05/0.6061, allocations: 55.61 kB / 470.3 MB, free: 15.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.1e-05/0.6062, allocations: 37.25 kB / 470.3 MB, free: 15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6062, allocations: 0 / 470.3 MB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002572/0.6065, allocations: 113 kB / 470.5 MB, free: 14.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.6065, allocations: 5.25 kB / 470.5 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6065, allocations: 3 kB / 470.5 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.6066, allocations: 0 / 470.5 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.6067, allocations: 27.12 kB / 470.5 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.6067, allocations: 3.281 kB / 470.5 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.6068, allocations: 18.09 kB / 470.5 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.6069, allocations: 8.156 kB / 470.5 MB, free: 14.96 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.0001438/0.607, allocations: 118.7 kB / 470.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.6071, allocations: 3.469 kB / 470.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004996/0.6076, allocations: 241.8 kB / 470.9 MB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6076, allocations: 3.5 kB / 470.9 MB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6076, allocations: 0 / 470.9 MB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.6076, allocations: 3.938 kB / 470.9 MB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.6078, allocations: 216.2 kB / 471.1 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6078, allocations: 6.688 kB / 471.1 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.6079, allocations: 23.09 kB / 471.1 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6079, allocations: 0 / 471.1 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.608, allocations: 6.016 kB / 471.1 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.608, allocations: 4 kB / 471.1 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.608, allocations: 0 / 471.1 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.6083, allocations: 176.4 kB / 471.3 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.6084, allocations: 104.6 kB / 471.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.6084, allocations: 3.25 kB / 471.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.6086, allocations: 10.91 kB / 471.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.6086, allocations: 6.656 kB / 471.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.6087, allocations: 4.719 kB / 471.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.6088, allocations: 131.4 kB / 471.6 MB, free: 14.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6088, allocations: 0 / 471.6 MB, free: 14.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006267/0.6094, allocations: 166.8 kB / 471.7 MB, free: 14.3 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.0006847/0.6101, allocations: 379.8 kB / 472.1 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.6104, allocations: 72.84 kB / 472.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6104, allocations: 3.375 kB / 472.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.66e-05/0.6105, allocations: 36.38 kB / 472.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.6107, allocations: 17.16 kB / 472.2 MB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.6112, allocations: 368.8 kB / 472.6 MB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.6114, allocations: 0.687 MB / 473.3 MB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004813/0.6119, allocations: 432.4 kB / 473.7 MB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.612, allocations: 39.25 kB / 473.7 MB, free: 13.17 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.612, allocations: 0 / 473.7 MB, free: 13.17 MB / 398.1 MB Notification: Performance of Templates: time 0.008577/0.6206, allocations: 5.887 MB / 479.6 MB, free: 12.52 MB / 398.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)