Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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.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.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7941/0.7941, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001855/0.001855, allocations: 147.3 kB / 151.8 MB, free: 4.988 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 8 kB / 184.9 MB, free: 3.93 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1583, allocations: 25.16 MB / 210 MB, free: 29.76 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.254/1.412, allocations: 0.6794 GB / 0.8846 GB, free: 14 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/1.412, allocations: 67.22 kB / 0.8846 GB, free: 13.96 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2371/1.649, allocations: 72.88 MB / 0.9558 GB, free: 37.19 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.574e-06/1.649, allocations: 0 / 0.9558 GB, free: 37.19 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/1.65, allocations: 0 / 0.9558 GB, free: 37.19 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008891/1.65, allocations: 478.8 kB / 0.9563 GB, free: 36.68 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/1.65, allocations: 8.031 kB / 0.9563 GB, free: 36.67 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/1.65, allocations: 4 kB / 0.9563 GB, free: 36.66 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.514e-05/1.651, allocations: 171 kB / 0.9564 GB, free: 36.46 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/1.651, allocations: 4 kB / 0.9564 GB, free: 36.45 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/1.651, allocations: 11.98 kB / 0.9564 GB, free: 36.44 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/1.651, allocations: 105.6 kB / 0.9565 GB, free: 36.33 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.651, allocations: 0 / 0.9565 GB, free: 36.33 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/1.651, allocations: 0 / 0.9565 GB, free: 36.33 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.651, allocations: 7.938 kB / 0.9566 GB, free: 36.32 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/1.651, allocations: 131.8 kB / 0.9567 GB, free: 36.2 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/1.652, allocations: 372.6 kB / 0.957 GB, free: 35.78 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/1.652, allocations: 74.66 kB / 0.9571 GB, free: 35.7 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003706/1.652, allocations: 141 kB / 0.9572 GB, free: 35.54 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/1.652, allocations: 38.5 kB / 0.9573 GB, free: 35.5 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/1.652, allocations: 0 / 0.9573 GB, free: 35.5 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003453/1.653, allocations: 101.6 kB / 0.9574 GB, free: 35.39 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/1.653, allocations: 51.41 kB / 0.9574 GB, free: 35.33 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/1.653, allocations: 117.1 kB / 0.9575 GB, free: 35.2 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/1.653, allocations: 29.7 kB / 0.9576 GB, free: 35.17 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/1.653, allocations: 100 kB / 0.9577 GB, free: 35.07 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/1.653, allocations: 35.48 kB / 0.9577 GB, free: 35.03 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/1.653, allocations: 4 kB / 0.9577 GB, free: 35.03 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/1.653, allocations: 322.8 kB / 0.958 GB, free: 34.7 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/1.653, allocations: 28.09 kB / 0.958 GB, free: 34.68 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.196e-05/1.653, allocations: 78.94 kB / 0.9581 GB, free: 34.58 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.075e-05/1.653, allocations: 31.98 kB / 0.9581 GB, free: 34.55 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.653, allocations: 0 / 0.9581 GB, free: 34.55 MB / 234.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000243/1.654, allocations: 141.5 kB / 0.9583 GB, free: 34.41 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/1.654, allocations: 5.875 kB / 0.9583 GB, free: 34.4 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.654, allocations: 3.984 kB / 0.9583 GB, free: 34.4 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.654, allocations: 4 kB / 0.9583 GB, free: 34.39 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/1.654, allocations: 35.91 kB / 0.9583 GB, free: 34.36 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.654, allocations: 0 / 0.9583 GB, free: 34.36 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/1.654, allocations: 11.91 kB / 0.9583 GB, free: 34.35 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/1.654, allocations: 8 kB / 0.9583 GB, free: 34.34 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.633e-05/1.654, allocations: 136.8 kB / 0.9585 GB, free: 34.2 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/1.654, allocations: 7.906 kB / 0.9585 GB, free: 34.19 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/1.654, allocations: 243.1 kB / 0.9587 GB, free: 33.94 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/1.654, allocations: 0 / 0.9587 GB, free: 33.94 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.654, allocations: 0 / 0.9587 GB, free: 33.94 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/1.654, allocations: 384 / 0.9587 GB, free: 33.94 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/1.655, allocations: 213.4 kB / 0.9589 GB, free: 33.68 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.655, allocations: 0 / 0.9589 GB, free: 33.68 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/1.655, allocations: 15.98 kB / 0.9589 GB, free: 33.66 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.655, allocations: 3.938 kB / 0.9589 GB, free: 33.66 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/1.655, allocations: 8.125 kB / 0.9589 GB, free: 33.65 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.655, allocations: 4 kB / 0.9589 GB, free: 33.65 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/1.655, allocations: 0 / 0.9589 GB, free: 33.65 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/1.655, allocations: 160.8 kB / 0.9591 GB, free: 33.47 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/1.655, allocations: 120.9 kB / 0.9592 GB, free: 33.34 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/1.655, allocations: 0 / 0.9592 GB, free: 33.34 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/1.655, allocations: 4 kB / 0.9592 GB, free: 33.33 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/1.655, allocations: 11.98 kB / 0.9592 GB, free: 33.32 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/1.655, allocations: 4 kB / 0.9592 GB, free: 33.32 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.466e-05/1.655, allocations: 159.2 kB / 0.9594 GB, free: 33.16 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.655, allocations: 0 / 0.9594 GB, free: 33.16 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009656/1.656, allocations: 267.7 kB / 0.9596 GB, free: 32.9 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001859/1.658, allocations: 0.9422 MB / 0.9606 GB, free: 31.97 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002603/1.658, allocations: 99.81 kB / 0.9607 GB, free: 31.88 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.658, allocations: 4.25 kB / 0.9607 GB, free: 31.87 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/1.658, allocations: 59.84 kB / 0.9607 GB, free: 31.81 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/1.659, allocations: 19.98 kB / 0.9607 GB, free: 31.79 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/1.659, allocations: 320.3 kB / 0.961 GB, free: 31.45 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/1.659, allocations: 0.716 MB / 0.9617 GB, free: 30.71 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001375/1.659, allocations: 32.48 kB / 0.9618 GB, free: 30.68 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/1.659, allocations: 15.44 kB / 0.9618 GB, free: 30.66 MB / 234.7 MB Notification: Performance of SimCode: time 2.3e-07/1.659, allocations: 4 kB / 0.9618 GB, free: 30.66 MB / 234.7 MB Notification: Performance of Templates: time 0.01623/1.676, allocations: 13.4 MB / 0.9749 GB, free: 17.25 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)