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.001806/0.001812, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 196.1 kB / 16.53 MB, free: 6.625 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.459/1.459, allocations: 205.1 MB / 222.4 MB, free: 4.547 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.001226/0.001226, allocations: 55.92 kB / 278.7 MB, free: 12.31 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2258, allocations: 46.63 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002199/0.2281, allocations: 1.344 MB / 326.7 MB, free: 0.7891 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.4257/0.6538, allocations: 150.4 MB / 477 MB, free: 0.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.919e-05/0.6539, allocations: 0 / 477 MB, free: 0.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.654, allocations: 3.094 kB / 477 MB, free: 0.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009258/0.6549, allocations: 236.5 kB / 477.2 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.6563, allocations: 0.626 MB / 477.9 MB, free: 472 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.678e-05/0.6564, allocations: 60.02 kB / 477.9 MB, free: 472 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.6564, allocations: 2.594 kB / 477.9 MB, free: 472 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.6565, allocations: 25.22 kB / 478 MB, free: 472 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.6566, allocations: 29.89 kB / 478 MB, free: 472 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.6566, allocations: 3.312 kB / 478 MB, free: 472 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.6578, allocations: 0.7999 MB / 478.8 MB, free: 460 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.6578, allocations: 4.938 kB / 478.8 MB, free: 460 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.6578, allocations: 30.27 kB / 478.8 MB, free: 456 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007662/0.6586, allocations: 0.6017 MB / 479.4 MB, free: 428 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6586, allocations: 0 / 479.4 MB, free: 428 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6586, allocations: 0 / 479.4 MB, free: 428 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.6586, allocations: 0 / 479.4 MB, free: 428 kB / 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.0005796/0.6592, allocations: 448 kB / 479.9 MB, free: 16.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.6593, allocations: 10.75 kB / 479.9 MB, free: 16.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.6604, allocations: 103.5 kB / 480 MB, free: 16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.6606, allocations: 220.8 kB / 480.2 MB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.6607, allocations: 5.141 kB / 480.2 MB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.6607, allocations: 5.562 kB / 480.2 MB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.6609, allocations: 90 kB / 480.3 MB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.6609, allocations: 3.094 kB / 480.3 MB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.6609, allocations: 7.406 kB / 480.3 MB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6609, allocations: 0 / 480.3 MB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.6611, allocations: 41.78 kB / 480.3 MB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.6613, allocations: 212.2 kB / 480.5 MB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.6618, allocations: 128.3 kB / 480.7 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.6619, allocations: 38.7 kB / 480.7 MB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007668/0.6627, allocations: 0.9884 MB / 481.7 MB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.6627, allocations: 33.75 kB / 481.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.6627, allocations: 0 / 481.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004709/0.6632, allocations: 133.8 kB / 481.9 MB, free: 14.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.6632, allocations: 77.11 kB / 481.9 MB, free: 14.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.6635, allocations: 157.3 kB / 482.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.6635, allocations: 30.89 kB / 482.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.6635, allocations: 80.14 kB / 482.2 MB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.6636, allocations: 22.25 kB / 482.2 MB, free: 13.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.6636, allocations: 36.17 kB / 482.3 MB, free: 13.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6638, allocations: 322.1 kB / 482.6 MB, free: 13.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.6639, allocations: 28.84 kB / 482.6 MB, free: 13.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.664, allocations: 52.25 kB / 482.6 MB, free: 13.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.6642, allocations: 90.91 kB / 482.7 MB, free: 13.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.6642, allocations: 3.938 kB / 482.7 MB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003333/0.6646, allocations: 118.8 kB / 482.9 MB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.6646, allocations: 9.188 kB / 482.9 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6646, allocations: 3.094 kB / 482.9 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6646, allocations: 3.375 kB / 482.9 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.6648, allocations: 25.16 kB / 482.9 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.6648, allocations: 2.562 kB / 482.9 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.665, allocations: 11.25 kB / 482.9 MB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.665, allocations: 8.562 kB / 482.9 MB, free: 13.49 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 9.437e-05/0.6651, allocations: 121.6 kB / 483 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.6651, allocations: 6 kB / 483 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.6657, allocations: 235.6 kB / 483.3 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.6657, allocations: 0 / 483.3 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6657, allocations: 2.969 kB / 483.3 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6657, allocations: 2.859 kB / 483.3 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.6659, allocations: 217.4 kB / 483.5 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.6659, allocations: 3.375 kB / 483.5 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.6661, allocations: 22.69 kB / 483.5 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.6661, allocations: 2.844 kB / 483.5 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.6661, allocations: 10.91 kB / 483.5 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6661, allocations: 6.391 kB / 483.5 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.6661, allocations: 0 / 483.5 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.6665, allocations: 173.1 kB / 483.7 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/0.6666, allocations: 94.67 kB / 483.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.6667, allocations: 3.594 kB / 483.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.6669, allocations: 7.844 kB / 483.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.6669, allocations: 11.55 kB / 483.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.6669, allocations: 5.391 kB / 483.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.6671, allocations: 127.1 kB / 484 MB, free: 12.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6671, allocations: 0 / 484 MB, free: 12.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005307/0.6676, allocations: 168.8 kB / 484.1 MB, free: 12.84 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.0007392/0.6684, allocations: 408.1 kB / 484.5 MB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.6686, allocations: 75.88 kB / 484.6 MB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6686, allocations: 0 / 484.6 MB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.6688, allocations: 41.33 kB / 484.6 MB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.669, allocations: 19.31 kB / 484.6 MB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.6695, allocations: 307.5 kB / 484.9 MB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.6698, allocations: 0.6876 MB / 485.6 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004836/0.6703, allocations: 432.9 kB / 486.1 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.6704, allocations: 42.73 kB / 486.1 MB, free: 11.7 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6704, allocations: 0 / 486.1 MB, free: 11.7 MB / 398.1 MB Notification: Performance of Templates: time 0.008905/0.6793, allocations: 6.109 MB / 492.2 MB, free: 11.07 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)