Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001543/0.001543, allocations: 112.3 kB / 16.62 MB, free: 6.812 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.00176/0.00176, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.312/1.312, allocations: 205.1 MB / 223.4 MB, free: 12.36 MB / 190.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.002139/0.002139, allocations: 51.94 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.1001, allocations: 46.63 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002715/0.1028, allocations: 1.433 MB / 327.6 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3086/0.4115, allocations: 148.6 MB / 476.2 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.4116, allocations: 0 / 476.2 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.4116, allocations: 7.922 kB / 476.2 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.4127, allocations: 322.2 kB / 476.5 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.4143, allocations: 0.7382 MB / 477.2 MB, free: 480 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.4144, allocations: 75.62 kB / 477.3 MB, free: 404 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.4145, allocations: 11.94 kB / 477.3 MB, free: 392 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.4146, allocations: 35.84 kB / 477.3 MB, free: 356 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.4147, allocations: 39.83 kB / 477.4 MB, free: 316 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.4147, allocations: 4 kB / 477.4 MB, free: 312 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.4167, allocations: 1.419 MB / 478.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.416e-05/0.4168, allocations: 11.92 kB / 478.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.4168, allocations: 27.86 kB / 478.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.418, allocations: 0.9237 MB / 479.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.418, allocations: 7.938 kB / 479.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4181, allocations: 4 kB / 479.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.4181, allocations: 0 / 479.8 MB, free: 13.91 MB / 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.0006218/0.4187, allocations: 467.7 kB / 480.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.4187, allocations: 12.03 kB / 480.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003114/0.419, allocations: 40.8 kB / 480.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.4192, allocations: 200.1 kB / 480.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4192, allocations: 0.5625 kB / 480.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.4193, allocations: 11.88 kB / 480.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.4194, allocations: 75.39 kB / 480.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.4194, allocations: 0 / 480.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.4195, allocations: 0 / 480.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.4195, allocations: 3.938 kB / 480.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.4196, allocations: 47.91 kB / 480.6 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.4198, allocations: 190.6 kB / 480.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.4201, allocations: 109.2 kB / 480.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.4202, allocations: 41.64 kB / 480.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00055/0.4207, allocations: 145 kB / 481.1 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.4208, allocations: 38.56 kB / 481.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4208, allocations: 0 / 481.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000354/0.4211, allocations: 117.8 kB / 481.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.4212, allocations: 81.11 kB / 481.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.4213, allocations: 137.8 kB / 481.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.4213, allocations: 29.7 kB / 481.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.4214, allocations: 92.12 kB / 481.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.4214, allocations: 15.66 kB / 481.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.4215, allocations: 21.72 kB / 481.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4216, allocations: 318.8 kB / 481.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.89e-05/0.4217, allocations: 27.98 kB / 481.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.4217, allocations: 55.41 kB / 482 MB, free: 11.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.4219, allocations: 83.38 kB / 482.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4219, allocations: 0 / 482.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002335/0.4221, allocations: 113.5 kB / 482.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4222, allocations: 4 kB / 482.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4222, allocations: 0 / 482.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4222, allocations: 4 kB / 482.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.862e-05/0.4223, allocations: 15.98 kB / 482.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.4223, allocations: 0 / 482.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.4223, allocations: 11.91 kB / 482.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.4223, allocations: 4 kB / 482.2 MB, free: 11.15 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/0.4224, allocations: 109.9 kB / 482.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.4225, allocations: 19.78 kB / 482.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.4227, allocations: 115.9 kB / 482.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4227, allocations: 0 / 482.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4228, allocations: 4 kB / 482.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4228, allocations: 0 / 482.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.4229, allocations: 185.5 kB / 482.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4229, allocations: 0 / 482.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.423, allocations: 20.8 kB / 482.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.423, allocations: 4 kB / 482.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.423, allocations: 4 kB / 482.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.423, allocations: 4 kB / 482.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.423, allocations: 3.938 kB / 482.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.4233, allocations: 165.4 kB / 482.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.4234, allocations: 81.14 kB / 482.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.4234, allocations: 8.047 kB / 482.9 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.339e-05/0.4235, allocations: 4 kB / 482.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.4235, allocations: 12.12 kB / 483 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.4235, allocations: 0 / 483 MB, free: 10.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.887e-05/0.4236, allocations: 115.2 kB / 483.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4236, allocations: 0 / 483.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005344/0.4242, allocations: 207.8 kB / 483.3 MB, free: 10.02 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 (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.00115/0.4253, allocations: 0.5193 MB / 483.8 MB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.4255, allocations: 71.89 kB / 483.9 MB, free: 9.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4255, allocations: 0 / 483.9 MB, free: 9.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.4256, allocations: 35.91 kB / 483.9 MB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.4259, allocations: 20.25 kB / 483.9 MB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.4264, allocations: 319.9 kB / 484.2 MB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.4266, allocations: 0.6963 MB / 484.9 MB, free: 8.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.4267, allocations: 23.83 kB / 484.9 MB, free: 8.285 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.4267, allocations: 19.42 kB / 485 MB, free: 8.266 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4267, allocations: 0 / 485 MB, free: 8.266 MB / 382.1 MB Notification: Performance of Templates: time 0.009597/0.4363, allocations: 5.979 MB / 490.9 MB, free: 2.289 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)