Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, 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.001168/0.001168, 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.303/1.303, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001778/0.001778, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2262, allocations: 46.63 MB / 324.8 MB, free: 1.895 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002641/0.2288, allocations: 1.429 MB / 326.3 MB, free: 0.7578 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3653/0.5941, allocations: 148.6 MB / 474.9 MB, free: 14.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.5943, allocations: 0 / 474.9 MB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.768e-05/0.5943, allocations: 2.719 kB / 474.9 MB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.5954, allocations: 320.5 kB / 475.2 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.597, allocations: 0.7422 MB / 475.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.5971, allocations: 76.81 kB / 476 MB, free: 14.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.5971, allocations: 9.5 kB / 476 MB, free: 14.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.661e-05/0.5972, allocations: 41.19 kB / 476 MB, free: 14.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.5973, allocations: 34.8 kB / 476.1 MB, free: 14.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.5973, allocations: 3.594 kB / 476.1 MB, free: 14.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.5992, allocations: 1.421 MB / 477.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.5992, allocations: 17.41 kB / 477.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.5993, allocations: 24.17 kB / 477.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.6004, allocations: 0.9263 MB / 478.5 MB, free: 14.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6004, allocations: 0.875 kB / 478.5 MB, free: 14.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6004, allocations: 0 / 478.5 MB, free: 14.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.6004, allocations: 0 / 478.5 MB, free: 14.08 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.0006334/0.601, allocations: 475.8 kB / 478.9 MB, free: 13.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.6011, allocations: 10.78 kB / 478.9 MB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.6014, allocations: 39.72 kB / 479 MB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.6016, allocations: 198.4 kB / 479.2 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.6016, allocations: 3.375 kB / 479.2 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.6016, allocations: 7.625 kB / 479.2 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.6018, allocations: 70.5 kB / 479.3 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.6018, allocations: 7.188 kB / 479.3 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.6018, allocations: 3.688 kB / 479.3 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.6018, allocations: 5.188 kB / 479.3 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.468e-05/0.6019, allocations: 42.94 kB / 479.3 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.6021, allocations: 192.4 kB / 479.5 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.6024, allocations: 115 kB / 479.6 MB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.6025, allocations: 43.23 kB / 479.7 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005311/0.6031, allocations: 138.5 kB / 479.8 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.6031, allocations: 34.64 kB / 479.8 MB, free: 12.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.6031, allocations: 0 / 479.8 MB, free: 12.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000333/0.6034, allocations: 116 kB / 479.9 MB, free: 12.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.6035, allocations: 83.45 kB / 480 MB, free: 12.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.6036, allocations: 145.3 kB / 480.2 MB, free: 12.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.6036, allocations: 25.7 kB / 480.2 MB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.6037, allocations: 92.3 kB / 480.3 MB, free: 12.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.6037, allocations: 28.48 kB / 480.3 MB, free: 12.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.6038, allocations: 18.97 kB / 480.3 MB, free: 12.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.6039, allocations: 319.5 kB / 480.6 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.6039, allocations: 27.16 kB / 480.7 MB, free: 12.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.604, allocations: 50.3 kB / 480.7 MB, free: 12.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.6042, allocations: 77.98 kB / 480.8 MB, free: 12.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6042, allocations: 2.094 kB / 480.8 MB, free: 12.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002331/0.6044, allocations: 115.3 kB / 480.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.6044, allocations: 9.625 kB / 480.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6045, allocations: 3.219 kB / 480.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6045, allocations: 0 / 480.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.6045, allocations: 16.47 kB / 480.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.6046, allocations: 2.156 kB / 480.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.6046, allocations: 9.75 kB / 480.9 MB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.6046, allocations: 5.938 kB / 480.9 MB, free: 12.15 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 7.277e-05/0.6047, allocations: 114.6 kB / 481.1 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.6048, allocations: 21.61 kB / 481.1 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.605, allocations: 113.5 kB / 481.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.605, allocations: 6.719 kB / 481.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.605, allocations: 0 / 481.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.605, allocations: 2.156 kB / 481.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.6052, allocations: 186.8 kB / 481.4 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6052, allocations: 2.016 kB / 481.4 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.435e-05/0.6053, allocations: 12.91 kB / 481.4 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.6053, allocations: 0 / 481.4 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.6053, allocations: 2.688 kB / 481.4 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.6053, allocations: 4 kB / 481.4 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6053, allocations: 0 / 481.4 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.6056, allocations: 168.6 kB / 481.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.6057, allocations: 83.98 kB / 481.6 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.6057, allocations: 5.469 kB / 481.7 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.6057, allocations: 6.469 kB / 481.7 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.6058, allocations: 7.875 kB / 481.7 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.6058, allocations: 0 / 481.7 MB, free: 11.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.815e-05/0.6059, allocations: 117 kB / 481.8 MB, free: 11.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6059, allocations: 0 / 481.8 MB, free: 11.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000553/0.6064, allocations: 204 kB / 482 MB, free: 11.48 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001158/0.6076, allocations: 0.5086 MB / 482.5 MB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.6078, allocations: 62.94 kB / 482.6 MB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6078, allocations: 9.359 kB / 482.6 MB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.6079, allocations: 35.28 kB / 482.6 MB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.6081, allocations: 29.12 kB / 482.6 MB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005125/0.6087, allocations: 331.1 kB / 482.9 MB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.6089, allocations: 0.6882 MB / 483.6 MB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.6089, allocations: 17.94 kB / 483.7 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.609, allocations: 14.88 kB / 483.7 MB, free: 10.33 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.609, allocations: 0 / 483.7 MB, free: 10.33 MB / 398.1 MB Notification: Performance of Templates: time 0.009374/0.6184, allocations: 5.987 MB / 489.7 MB, free: 9.266 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)