Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001421/0.001421, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001829/0.001829, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.385/1.385, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.001112/0.001112, allocations: 47.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1977, allocations: 46.63 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002123/0.1998, allocations: 1.415 MB / 326.3 MB, free: 0.8047 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3174/0.5172, allocations: 148.2 MB / 474.4 MB, free: 0.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.5174, allocations: 1.203 kB / 474.4 MB, free: 0.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.5174, allocations: 3.188 kB / 474.4 MB, free: 0.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007407/0.5181, allocations: 222.6 kB / 474.7 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.5193, allocations: 0.5709 MB / 475.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.5194, allocations: 60.09 kB / 475.3 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.5195, allocations: 5.5 kB / 475.3 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.5195, allocations: 22.69 kB / 475.3 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.5196, allocations: 34.23 kB / 475.3 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.5196, allocations: 3.406 kB / 475.3 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009879/0.5206, allocations: 0.8116 MB / 476.2 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.5206, allocations: 8.844 kB / 476.2 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.5207, allocations: 25.05 kB / 476.2 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007022/0.5214, allocations: 0.6142 MB / 476.8 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5214, allocations: 3.812 kB / 476.8 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5214, allocations: 0 / 476.8 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.5214, allocations: 0 / 476.8 MB, free: 0.8711 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.000599/0.522, allocations: 451.3 kB / 477.2 MB, free: 16.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.522, allocations: 11.25 kB / 477.3 MB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.5231, allocations: 98.7 kB / 477.4 MB, free: 16.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.5234, allocations: 219.7 kB / 477.6 MB, free: 16.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.5234, allocations: 6.125 kB / 477.6 MB, free: 16.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.5235, allocations: 6.969 kB / 477.6 MB, free: 16.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.5237, allocations: 93.7 kB / 477.7 MB, free: 16.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.5237, allocations: 1.203 kB / 477.7 MB, free: 16.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.5237, allocations: 1.938 kB / 477.7 MB, free: 16.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.5237, allocations: 0 / 477.7 MB, free: 16.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.5239, allocations: 47.66 kB / 477.7 MB, free: 16.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.5241, allocations: 205.9 kB / 477.9 MB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.5245, allocations: 129.5 kB / 478.1 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.5247, allocations: 37.94 kB / 478.1 MB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006235/0.5253, allocations: 0.9896 MB / 479.1 MB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.5253, allocations: 38.12 kB / 479.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.5253, allocations: 0 / 479.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004817/0.5258, allocations: 132.6 kB / 479.2 MB, free: 14.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.5259, allocations: 82.36 kB / 479.3 MB, free: 14.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.5261, allocations: 159 kB / 479.5 MB, free: 14.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.5261, allocations: 31.48 kB / 479.5 MB, free: 14.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.5262, allocations: 80.14 kB / 479.6 MB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.5262, allocations: 24.97 kB / 479.6 MB, free: 14.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.5263, allocations: 35.25 kB / 479.6 MB, free: 14.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5264, allocations: 316.7 kB / 480 MB, free: 14.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.982e-05/0.5265, allocations: 23.33 kB / 480 MB, free: 14.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.5266, allocations: 52.73 kB / 480 MB, free: 14.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.5268, allocations: 88.61 kB / 480.1 MB, free: 13.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5268, allocations: 5.031 kB / 480.1 MB, free: 13.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003293/0.5272, allocations: 120.1 kB / 480.2 MB, free: 13.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.5272, allocations: 8.109 kB / 480.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.5272, allocations: 0 / 480.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5272, allocations: 5.844 kB / 480.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.5274, allocations: 30.03 kB / 480.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.5274, allocations: 0 / 480.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.5276, allocations: 5.797 kB / 480.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.5276, allocations: 10.62 kB / 480.3 MB, free: 13.95 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.523e-05/0.5277, allocations: 116.6 kB / 480.4 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.5278, allocations: 8.516 kB / 480.4 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.5283, allocations: 235.4 kB / 480.7 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.5283, allocations: 2.625 kB / 480.7 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5283, allocations: 0 / 480.7 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5284, allocations: 2.859 kB / 480.7 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.5285, allocations: 224.8 kB / 480.9 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.5285, allocations: 4.062 kB / 480.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.5287, allocations: 26.98 kB / 480.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.5287, allocations: 0 / 480.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.5288, allocations: 10 kB / 480.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5288, allocations: 0 / 480.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5288, allocations: 1.203 kB / 480.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.5292, allocations: 177 kB / 481.1 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.5292, allocations: 91.77 kB / 481.2 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.5293, allocations: 4.188 kB / 481.2 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.5295, allocations: 10.41 kB / 481.2 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.5295, allocations: 9.641 kB / 481.2 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.5296, allocations: 2.812 kB / 481.2 MB, free: 13.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.5297, allocations: 130.1 kB / 481.3 MB, free: 13.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.5297, allocations: 2.906 kB / 481.3 MB, free: 13.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000512/0.5302, allocations: 171.7 kB / 481.5 MB, free: 13.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 (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.0007461/0.531, allocations: 394.4 kB / 481.9 MB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.5313, allocations: 87.45 kB / 482 MB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5313, allocations: 3.625 kB / 482 MB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.5314, allocations: 33.42 kB / 482 MB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.5316, allocations: 24.34 kB / 482 MB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.5322, allocations: 320.1 kB / 482.3 MB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.5324, allocations: 0.688 MB / 483 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004884/0.5329, allocations: 430.5 kB / 483.5 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.533, allocations: 39.16 kB / 483.5 MB, free: 12.15 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.533, allocations: 0 / 483.5 MB, free: 12.15 MB / 398.1 MB Notification: Performance of Templates: time 0.008428/0.5415, allocations: 6.092 MB / 489.6 MB, free: 11.51 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)