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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6206/0.6206, allocations: 110.8 MB / 118 MB, free: 14.64 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00184/0.00184, allocations: 160 kB / 143.7 MB, free: 4.969 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 5.15e-06/5.19e-06, allocations: 0 / 173.5 MB, free: 23.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04278/0.0428, allocations: 25.16 MB / 198.6 MB, free: 13.96 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.064, allocations: 0.6786 GB / 0.8726 GB, free: 3.953 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001704/1.065, allocations: 62.03 kB / 0.8727 GB, free: 3.926 MB / 234.7 MB Notification: Performance of FrontEnd: time 0.3425/1.407, allocations: 71.87 MB / 0.9428 GB, free: 33.77 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/1.407, allocations: 4 kB / 0.9428 GB, free: 33.77 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.001063/1.408, allocations: 462 kB / 0.9433 GB, free: 33.27 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.408, allocations: 8.031 kB / 0.9433 GB, free: 33.26 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/1.408, allocations: 7.906 kB / 0.9433 GB, free: 33.25 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/1.409, allocations: 174.8 kB / 0.9435 GB, free: 33.04 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/1.409, allocations: 8 kB / 0.9435 GB, free: 33.04 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/1.409, allocations: 4 kB / 0.9435 GB, free: 33.03 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002957/1.409, allocations: 111.9 kB / 0.9436 GB, free: 32.92 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/1.409, allocations: 93.64 kB / 0.9437 GB, free: 32.82 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.409, allocations: 0 / 0.9437 GB, free: 32.82 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/1.409, allocations: 0 / 0.9437 GB, free: 32.82 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.409, allocations: 4 kB / 0.9437 GB, free: 32.82 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/1.411, allocations: 0.5851 MB / 0.9442 GB, free: 32.16 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/1.411, allocations: 50.56 kB / 0.9443 GB, free: 32.1 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/1.411, allocations: 17.11 kB / 0.9443 GB, free: 32.08 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/1.412, allocations: 137 kB / 0.9444 GB, free: 31.93 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/1.412, allocations: 38.56 kB / 0.9445 GB, free: 31.88 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/1.412, allocations: 0 / 0.9445 GB, free: 31.88 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.00103/1.413, allocations: 133.4 kB / 0.9446 GB, free: 31.75 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/1.413, allocations: 51.41 kB / 0.9447 GB, free: 31.68 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/1.413, allocations: 132.8 kB / 0.9448 GB, free: 31.55 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/1.413, allocations: 25.7 kB / 0.9448 GB, free: 31.52 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/1.413, allocations: 104 kB / 0.9449 GB, free: 31.41 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/1.413, allocations: 15.7 kB / 0.9449 GB, free: 31.39 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/1.413, allocations: 0 / 0.9449 GB, free: 31.39 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.591e-05/1.413, allocations: 322.8 kB / 0.9452 GB, free: 31.07 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.51e-05/1.413, allocations: 16 kB / 0.9452 GB, free: 31.05 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.948e-05/1.413, allocations: 65.14 kB / 0.9453 GB, free: 30.97 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009915/1.414, allocations: 107.9 kB / 0.9454 GB, free: 30.86 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.414, allocations: 0 / 0.9454 GB, free: 30.86 MB / 234.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.001205/1.416, allocations: 193.3 kB / 0.9456 GB, free: 30.67 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.416, allocations: 8 kB / 0.9456 GB, free: 30.66 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.416, allocations: 4.125 kB / 0.9456 GB, free: 30.66 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.416, allocations: 4 kB / 0.9456 GB, free: 30.65 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/1.416, allocations: 35.91 kB / 0.9456 GB, free: 30.62 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.416, allocations: 0 / 0.9456 GB, free: 30.62 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/1.416, allocations: 11.84 kB / 0.9457 GB, free: 30.61 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/1.416, allocations: 12 kB / 0.9457 GB, free: 30.59 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 () * 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 7.266e-05/1.416, allocations: 116.8 kB / 0.9458 GB, free: 30.47 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/1.416, allocations: 4 kB / 0.9458 GB, free: 30.47 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/1.418, allocations: 230.1 kB / 0.946 GB, free: 30.24 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.418, allocations: 0 / 0.946 GB, free: 30.24 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.418, allocations: 4 kB / 0.946 GB, free: 30.23 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.418, allocations: 0 / 0.946 GB, free: 30.23 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/1.418, allocations: 182 kB / 0.9462 GB, free: 30.02 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.418, allocations: 0 / 0.9462 GB, free: 30.02 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/1.418, allocations: 11.98 kB / 0.9462 GB, free: 30.01 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.418, allocations: 4 kB / 0.9462 GB, free: 30 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/1.418, allocations: 192 / 0.9462 GB, free: 30 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.418, allocations: 4 kB / 0.9462 GB, free: 30 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.418, allocations: 0 / 0.9462 GB, free: 30 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009591/1.419, allocations: 291.1 kB / 0.9465 GB, free: 29.7 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/1.419, allocations: 101 kB / 0.9466 GB, free: 29.58 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/1.419, allocations: 4 kB / 0.9466 GB, free: 29.58 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/1.419, allocations: 3.984 kB / 0.9466 GB, free: 29.57 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/1.419, allocations: 4 kB / 0.9466 GB, free: 29.57 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/1.419, allocations: 7.984 kB / 0.9466 GB, free: 29.56 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.556e-05/1.419, allocations: 91.28 kB / 0.9467 GB, free: 29.47 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001255/1.421, allocations: 255.8 kB / 0.9469 GB, free: 29.22 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 () * 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.003163/1.424, allocations: 1.085 MB / 0.948 GB, free: 28.13 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002456/1.424, allocations: 87.91 kB / 0.9481 GB, free: 28.05 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.424, allocations: 0 / 0.9481 GB, free: 28.05 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/1.424, allocations: 43.98 kB / 0.9481 GB, free: 28 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/1.425, allocations: 16.3 kB / 0.9481 GB, free: 27.99 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/1.425, allocations: 147.3 kB / 0.9483 GB, free: 27.82 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/1.426, allocations: 0.7312 MB / 0.949 GB, free: 27.06 MB / 234.7 MB Notification: Performance of SimCode: time 4.11e-07/1.426, allocations: 0 / 0.949 GB, free: 27.06 MB / 234.7 MB Notification: Performance of Templates: time 0.02174/1.447, allocations: 8.869 MB / 0.9576 GB, free: 18.19 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)