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.001044/0.001044, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001205/0.001205, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004303/0.0004304, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2729, allocations: 47.58 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00123/0.2742, allocations: 1.046 MB / 327.5 MB, free: 0.5703 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.1335/0.4077, allocations: 127.4 MB / 454.9 MB, free: 2.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.4078, allocations: 0 / 454.9 MB, free: 2.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.819e-05/0.4079, allocations: 3.984 kB / 454.9 MB, free: 2.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009091/0.4088, allocations: 259.2 kB / 455.2 MB, free: 2.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.4101, allocations: 0.5728 MB / 455.8 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.759e-05/0.4102, allocations: 55.86 kB / 455.8 MB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.4103, allocations: 7.984 kB / 455.8 MB, free: 1.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.4103, allocations: 23.92 kB / 455.8 MB, free: 1.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.4104, allocations: 35.89 kB / 455.9 MB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.4104, allocations: 0 / 455.9 MB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.4123, allocations: 1.034 MB / 456.9 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.097e-05/0.4123, allocations: 19.97 kB / 456.9 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.4124, allocations: 33.64 kB / 457 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007454/0.4131, allocations: 0.4926 MB / 457.5 MB, free: 196 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.4131, allocations: 0 / 457.5 MB, free: 196 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4131, allocations: 0 / 457.5 MB, free: 196 kB / 382.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.4131, allocations: 0 / 457.5 MB, free: 196 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.141/0.5541, allocations: 453.8 kB / 457.9 MB, free: 128 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.5542, allocations: 9.156 kB / 457.9 MB, free: 128 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.5546, allocations: 42.61 kB / 457.9 MB, free: 128 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.5547, allocations: 191 kB / 458.1 MB, free: 127.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.5547, allocations: 1.906 kB / 458.1 MB, free: 127.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.5548, allocations: 8.531 kB / 458.1 MB, free: 127.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.5549, allocations: 71.06 kB / 458.2 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.5549, allocations: 2.938 kB / 458.2 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.5549, allocations: 2.922 kB / 458.2 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.555, allocations: 4.375 kB / 458.2 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.5551, allocations: 40.22 kB / 458.3 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.5552, allocations: 193.1 kB / 458.4 MB, free: 127.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.5556, allocations: 115.2 kB / 458.6 MB, free: 127.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-05/0.5556, allocations: 16.78 kB / 458.6 MB, free: 127.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.5557, allocations: 40.86 kB / 458.6 MB, free: 127.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.5557, allocations: 3.672 kB / 458.6 MB, free: 127.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004018/0.5561, allocations: 121.7 kB / 458.7 MB, free: 127.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.5561, allocations: 79.69 kB / 458.8 MB, free: 127.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.5563, allocations: 139.8 kB / 459 MB, free: 127.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.5563, allocations: 27.64 kB / 459 MB, free: 127.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.5563, allocations: 87.17 kB / 459.1 MB, free: 127.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.5564, allocations: 19.45 kB / 459.1 MB, free: 127.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.5564, allocations: 5.094 kB / 459.1 MB, free: 127.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.5564, allocations: 322.1 kB / 459.4 MB, free: 126.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.5565, allocations: 23.19 kB / 459.4 MB, free: 126.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.5566, allocations: 49.64 kB / 459.5 MB, free: 126.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.916e-05/0.5567, allocations: 30.7 kB / 459.5 MB, free: 126.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5567, allocations: 1.938 kB / 459.5 MB, free: 126.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002778/0.557, allocations: 105 kB / 459.6 MB, free: 126.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.557, allocations: 5.891 kB / 459.6 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.5571, allocations: 7.953 kB / 459.6 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.5571, allocations: 1.688 kB / 459.6 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.5572, allocations: 15.55 kB / 459.6 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.5572, allocations: 2.297 kB / 459.6 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.365e-05/0.5572, allocations: 15.64 kB / 459.7 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.5573, allocations: 3.844 kB / 459.7 MB, free: 126.7 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.462e-05/0.5573, allocations: 120 kB / 459.8 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.5574, allocations: 4.188 kB / 459.8 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.5577, allocations: 122 kB / 459.9 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5577, allocations: 8.031 kB / 459.9 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5577, allocations: 0.625 kB / 459.9 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5577, allocations: 1.797 kB / 459.9 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.5578, allocations: 181.4 kB / 460.1 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5579, allocations: 1.438 kB / 460.1 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.5579, allocations: 15.2 kB / 460.1 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.558, allocations: 1.031 kB / 460.1 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.558, allocations: 5.047 kB / 460.1 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.558, allocations: 0.5312 kB / 460.1 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.558, allocations: 4.453 kB / 460.1 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.5584, allocations: 179.3 kB / 460.3 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.5584, allocations: 91.84 kB / 460.4 MB, free: 126.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.5584, allocations: 2.5 kB / 460.4 MB, free: 126.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.465e-05/0.5585, allocations: 10.16 kB / 460.4 MB, free: 126.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.5585, allocations: 4.594 kB / 460.4 MB, free: 126.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.5586, allocations: 3 kB / 460.4 MB, free: 126.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.506e-05/0.5586, allocations: 115.8 kB / 460.5 MB, free: 126 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5586, allocations: 0.5 kB / 460.5 MB, free: 126 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006662/0.5593, allocations: 198.5 kB / 460.7 MB, free: 126 MB / 382.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 (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.0009925/0.5603, allocations: 456 kB / 461.2 MB, free: 125.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.5605, allocations: 68.56 kB / 461.2 MB, free: 125.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5605, allocations: 0 / 461.2 MB, free: 125.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.288e-05/0.5606, allocations: 36.12 kB / 461.3 MB, free: 125.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.5608, allocations: 19.19 kB / 461.3 MB, free: 125.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.5612, allocations: 371.5 kB / 461.6 MB, free: 125.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.155e-05/0.5613, allocations: 0.6896 MB / 462.3 MB, free: 124.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.567e-05/0.5614, allocations: 30.3 kB / 462.4 MB, free: 124.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.5614, allocations: 12.19 kB / 462.4 MB, free: 124.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5614, allocations: 7.625 kB / 462.4 MB, free: 124.8 MB / 382.1 MB Notification: Performance of Templates: time 0.008914/0.5704, allocations: 5.923 MB / 468.3 MB, free: 121 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: