Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0007848/0.0007885, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005582/0.005582, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.352/1.352, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.0006588/0.0006589, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.205, allocations: 47.59 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001147/0.2062, allocations: 1.084 MB / 328.1 MB, free: 0.5273 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3342/0.5405, allocations: 146.5 MB / 474.6 MB, free: 15.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.5405, allocations: 0 / 474.6 MB, free: 15.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.5406, allocations: 6.141 kB / 474.6 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000744/0.5413, allocations: 203.9 kB / 474.8 MB, free: 15.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.5426, allocations: 0.5203 MB / 475.3 MB, free: 15.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.5427, allocations: 55.83 kB / 475.4 MB, free: 15.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.5428, allocations: 3.422 kB / 475.4 MB, free: 15.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.5428, allocations: 32.27 kB / 475.4 MB, free: 15.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.12e-05/0.5429, allocations: 28.84 kB / 475.5 MB, free: 15.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.5429, allocations: 3.656 kB / 475.5 MB, free: 15.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.5442, allocations: 0.7896 MB / 476.3 MB, free: 15.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.5442, allocations: 9.297 kB / 476.3 MB, free: 15.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.5442, allocations: 50.41 kB / 476.3 MB, free: 15.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007723/0.545, allocations: 0.6099 MB / 476.9 MB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.545, allocations: 2.875 kB / 476.9 MB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.545, allocations: 5.594 kB / 476.9 MB, free: 15.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.545, allocations: 0 / 476.9 MB, free: 15.07 MB / 398.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.0004743/0.5455, allocations: 438.6 kB / 477.4 MB, free: 14.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.5456, allocations: 8.438 kB / 477.4 MB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.5466, allocations: 98.31 kB / 477.5 MB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.5468, allocations: 223.8 kB / 477.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5468, allocations: 7.875 kB / 477.7 MB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.5469, allocations: 5.656 kB / 477.7 MB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.547, allocations: 89.39 kB / 477.8 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.5471, allocations: 0 / 477.8 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.5471, allocations: 3.344 kB / 477.8 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.5471, allocations: 0 / 477.8 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.5472, allocations: 48.83 kB / 477.8 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.5475, allocations: 212.8 kB / 478 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.5479, allocations: 120.1 kB / 478.2 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.548, allocations: 41.77 kB / 478.2 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006122/0.5487, allocations: 0.9916 MB / 479.2 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.5487, allocations: 37.38 kB / 479.2 MB, free: 12.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.5487, allocations: 0 / 479.2 MB, free: 12.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004116/0.5491, allocations: 133.6 kB / 479.4 MB, free: 12.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.5492, allocations: 77.11 kB / 479.4 MB, free: 12.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.5494, allocations: 157.9 kB / 479.6 MB, free: 12.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.5494, allocations: 28.7 kB / 479.6 MB, free: 12.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.5494, allocations: 84.08 kB / 479.7 MB, free: 12.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.5495, allocations: 27.86 kB / 479.7 MB, free: 12.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.5495, allocations: 13.19 kB / 479.7 MB, free: 12.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.5496, allocations: 318.3 kB / 480.1 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.364e-05/0.5497, allocations: 27.52 kB / 480.1 MB, free: 12.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.5498, allocations: 56.69 kB / 480.1 MB, free: 12.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.55, allocations: 83.06 kB / 480.2 MB, free: 12.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.55, allocations: 6.875 kB / 480.2 MB, free: 12.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002926/0.5503, allocations: 126.5 kB / 480.3 MB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.5503, allocations: 5.125 kB / 480.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5504, allocations: 0 / 480.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.5504, allocations: 2.844 kB / 480.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.5505, allocations: 21.92 kB / 480.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.5505, allocations: 2.484 kB / 480.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.5507, allocations: 9.188 kB / 480.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.5507, allocations: 8.203 kB / 480.4 MB, free: 12.12 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.26e-05/0.5508, allocations: 119.5 kB / 480.5 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.5508, allocations: 7.375 kB / 480.5 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.5513, allocations: 241.6 kB / 480.8 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.5513, allocations: 0 / 480.8 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5514, allocations: 6.031 kB / 480.8 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5514, allocations: 0 / 480.8 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.5516, allocations: 216.3 kB / 481 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5516, allocations: 4 kB / 481 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.5517, allocations: 18.61 kB / 481 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5518, allocations: 3.312 kB / 481 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.5518, allocations: 5.375 kB / 481 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5518, allocations: 1.938 kB / 481 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5518, allocations: 2.625 kB / 481 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.5522, allocations: 180.8 kB / 481.2 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.5522, allocations: 97.42 kB / 481.3 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.5523, allocations: 6.875 kB / 481.3 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.5525, allocations: 6.812 kB / 481.3 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.5525, allocations: 6.109 kB / 481.3 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.5525, allocations: 4.922 kB / 481.3 MB, free: 11.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.5527, allocations: 141.9 kB / 481.4 MB, free: 11.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5527, allocations: 0 / 481.4 MB, free: 11.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004886/0.5532, allocations: 169.9 kB / 481.6 MB, free: 11.45 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.0007203/0.5539, allocations: 392.1 kB / 482 MB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.5542, allocations: 74.95 kB / 482.1 MB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5542, allocations: 0 / 482.1 MB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.5543, allocations: 37.05 kB / 482.1 MB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.5545, allocations: 15.56 kB / 482.1 MB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.555, allocations: 361 kB / 482.5 MB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.5552, allocations: 0.6889 MB / 483.2 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000519/0.5558, allocations: 432.6 kB / 483.6 MB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.5559, allocations: 42.08 kB / 483.6 MB, free: 10.29 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5559, allocations: 4 kB / 483.6 MB, free: 10.28 MB / 398.1 MB Notification: Performance of Templates: time 0.008816/0.5647, allocations: 5.946 MB / 489.6 MB, free: 8.379 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)