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.001312/0.001312, allocations: 110.8 kB / 16.51 MB, free: 6.715 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.001362/0.001362, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.332/1.332, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.001173/0.001173, allocations: 44.41 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08316/0.08434, allocations: 46.64 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002282/0.08666, allocations: 1.406 MB / 327.4 MB, free: 3.457 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3266/0.4133, allocations: 148.1 MB / 475.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.4134, allocations: 0 / 475.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.4135, allocations: 7.984 kB / 475.5 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008973/0.4144, allocations: 199.1 kB / 475.7 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.4158, allocations: 0.5283 MB / 476.2 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.07e-05/0.4159, allocations: 55.72 kB / 476.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.416, allocations: 8 kB / 476.3 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/0.4161, allocations: 21.42 kB / 476.3 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.552e-05/0.4161, allocations: 31.89 kB / 476.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.4162, allocations: 4 kB / 476.3 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.4175, allocations: 0.7953 MB / 477.1 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.4175, allocations: 7.938 kB / 477.1 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.4176, allocations: 27.84 kB / 477.2 MB, free: 476 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008873/0.4185, allocations: 0.6159 MB / 477.8 MB, free: 15.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4185, allocations: 0 / 477.8 MB, free: 15.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4185, allocations: 0 / 477.8 MB, free: 15.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.4185, allocations: 0 / 477.8 MB, free: 15.85 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.0006865/0.4192, allocations: 447.8 kB / 478.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4192, allocations: 8.031 kB / 478.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.4204, allocations: 104.7 kB / 478.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.4207, allocations: 216.4 kB / 478.5 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.4207, allocations: 8.812 kB / 478.5 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.4208, allocations: 4 kB / 478.5 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.421, allocations: 93.48 kB / 478.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.421, allocations: 3.938 kB / 478.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.421, allocations: 0 / 478.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.421, allocations: 0 / 478.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.4212, allocations: 47.95 kB / 478.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.4215, allocations: 214.3 kB / 478.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.422, allocations: 129 kB / 479 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.4221, allocations: 41.77 kB / 479.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006726/0.4228, allocations: 0.9862 MB / 480 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.4229, allocations: 30.56 kB / 480.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.4229, allocations: 0 / 480.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005446/0.4234, allocations: 129.5 kB / 480.2 MB, free: 13.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.4235, allocations: 81.11 kB / 480.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.4237, allocations: 161.7 kB / 480.4 MB, free: 12.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.4238, allocations: 25.7 kB / 480.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.4238, allocations: 84.14 kB / 480.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.4239, allocations: 23.73 kB / 480.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.4239, allocations: 29.61 kB / 480.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.424, allocations: 322.8 kB / 480.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.4242, allocations: 27.98 kB / 480.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.4243, allocations: 51.78 kB / 481 MB, free: 12.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.4246, allocations: 95.25 kB / 481.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4246, allocations: 3.938 kB / 481.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003585/0.4249, allocations: 117.5 kB / 481.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.425, allocations: 7.984 kB / 481.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.425, allocations: 4 kB / 481.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.425, allocations: 0 / 481.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.4252, allocations: 27.97 kB / 481.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4252, allocations: 3.938 kB / 481.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.4254, allocations: 4 kB / 481.3 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.4254, allocations: 16.05 kB / 481.3 MB, free: 11.86 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 0.0001064/0.4255, allocations: 113.8 kB / 481.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.4256, allocations: 11.91 kB / 481.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006292/0.4262, allocations: 235.9 kB / 481.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4262, allocations: 0 / 481.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4262, allocations: 0 / 481.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4262, allocations: 0 / 481.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.4265, allocations: 227.4 kB / 481.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4265, allocations: 0 / 481.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.4267, allocations: 27.91 kB / 481.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4267, allocations: 0 / 481.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.4267, allocations: 4 kB / 481.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4267, allocations: 0 / 481.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4267, allocations: 9.562 kB / 481.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.4272, allocations: 173.8 kB / 482.1 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.4273, allocations: 89.03 kB / 482.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.4273, allocations: 4 kB / 482.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.4275, allocations: 7.984 kB / 482.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.4276, allocations: 12.05 kB / 482.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.4276, allocations: 4 kB / 482.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.4278, allocations: 127.2 kB / 482.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4278, allocations: 0 / 482.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000511/0.4283, allocations: 171.9 kB / 482.5 MB, free: 10.57 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.0008138/0.4291, allocations: 388.9 kB / 482.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.4294, allocations: 75.88 kB / 482.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4294, allocations: 0 / 482.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.4295, allocations: 43.91 kB / 483 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.4298, allocations: 16 kB / 483 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.4304, allocations: 321 kB / 483.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.4306, allocations: 0.6926 MB / 484 MB, free: 8.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006116/0.4313, allocations: 433.2 kB / 484.4 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.4314, allocations: 39.39 kB / 484.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4314, allocations: 0 / 484.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of Templates: time 0.009894/0.4413, allocations: 5.979 MB / 490.4 MB, free: 2.543 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)