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.0009033/0.0009033, allocations: 93.34 kB / 16.65 MB, free: 6.598 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.001126/0.001127, allocations: 179.3 kB / 17.56 MB, free: 6.199 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.332/1.332, allocations: 205.4 MB / 223.7 MB, free: 13.09 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.0004917/0.0004917, allocations: 12.47 kB / 280.7 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08223/0.08273, allocations: 47.59 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001355/0.08413, allocations: 1.091 MB / 329.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3276/0.4117, allocations: 146.9 MB / 476.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.4118, allocations: 0 / 476.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.334e-05/0.4119, allocations: 7.922 kB / 476.4 MB, free: 5.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.4132, allocations: 316.4 kB / 476.7 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.4152, allocations: 0.6998 MB / 477.4 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.4153, allocations: 95.61 kB / 477.5 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.4154, allocations: 0 / 477.5 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.4154, allocations: 27.92 kB / 477.5 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.4155, allocations: 43.77 kB / 477.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.4155, allocations: 4 kB / 477.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.4178, allocations: 1.528 MB / 479.1 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.4179, allocations: 11.98 kB / 479.1 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.4179, allocations: 57.55 kB / 479.1 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.4191, allocations: 0.9198 MB / 480 MB, free: 2.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4192, allocations: 8 kB / 480 MB, free: 2.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4192, allocations: 4 kB / 480.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.4192, allocations: 0 / 480.1 MB, free: 2.203 MB / 366.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.0006508/0.4198, allocations: 467.7 kB / 480.5 MB, free: 1.699 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4199, allocations: 8.031 kB / 480.5 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.4202, allocations: 32.89 kB / 480.6 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.4204, allocations: 200.2 kB / 480.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.4204, allocations: 7.094 kB / 480.8 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.4205, allocations: 3.938 kB / 480.8 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.4206, allocations: 75.38 kB / 480.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.4207, allocations: 0 / 480.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.4207, allocations: 8 kB / 480.8 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.4207, allocations: 0 / 480.8 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.4208, allocations: 39.91 kB / 480.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.421, allocations: 202.4 kB / 481.1 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.4213, allocations: 109.2 kB / 481.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.813e-05/0.4214, allocations: 45.64 kB / 481.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004873/0.4219, allocations: 141 kB / 481.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.422, allocations: 34.56 kB / 481.4 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.422, allocations: 0 / 481.4 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000336/0.4223, allocations: 113.6 kB / 481.5 MB, free: 0.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.4224, allocations: 77.11 kB / 481.6 MB, free: 460 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.4225, allocations: 141.8 kB / 481.7 MB, free: 308 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.4225, allocations: 29.7 kB / 481.8 MB, free: 272 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.4225, allocations: 92.12 kB / 481.8 MB, free: 176 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.4226, allocations: 19.66 kB / 481.9 MB, free: 156 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.4226, allocations: 13.72 kB / 481.9 MB, free: 136 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4227, allocations: 318.8 kB / 482.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.4228, allocations: 27.98 kB / 482.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.4229, allocations: 47.42 kB / 482.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.4231, allocations: 87.7 kB / 482.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4231, allocations: 0 / 482.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002427/0.4233, allocations: 117.4 kB / 482.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4233, allocations: 4 kB / 482.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4233, allocations: 3.938 kB / 482.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4234, allocations: 8.062 kB / 482.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.491e-05/0.4234, allocations: 12 kB / 482.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4234, allocations: 3.984 kB / 482.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.4235, allocations: 8 kB / 482.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.4235, allocations: 4 kB / 482.5 MB, free: 15.46 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.669e-05/0.4236, allocations: 109.8 kB / 482.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.4237, allocations: 11.84 kB / 482.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.4239, allocations: 119.9 kB / 482.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4239, allocations: 3.938 kB / 482.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.424, allocations: 4.5 kB / 482.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.424, allocations: 0 / 482.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.4241, allocations: 185.5 kB / 482.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4241, allocations: 7.812 kB / 482.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.4242, allocations: 15.98 kB / 483 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4242, allocations: 0 / 483 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.4242, allocations: 4 kB / 483 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.4242, allocations: 4 kB / 483 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4243, allocations: 4 kB / 483 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.4246, allocations: 161.7 kB / 483.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.4247, allocations: 93.02 kB / 483.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.4247, allocations: 8 kB / 483.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.4247, allocations: 0 / 483.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.4248, allocations: 7.984 kB / 483.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.4248, allocations: 4.062 kB / 483.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.018e-05/0.4249, allocations: 111.3 kB / 483.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4249, allocations: 0 / 483.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005393/0.4254, allocations: 207.8 kB / 483.5 MB, free: 14.33 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.001248/0.4267, allocations: 0.5112 MB / 484.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.4269, allocations: 63.89 kB / 484.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4269, allocations: 0 / 484.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.409e-05/0.427, allocations: 40.05 kB / 484.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.4273, allocations: 28.64 kB / 484.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.4278, allocations: 364.8 kB / 484.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.428, allocations: 0.6888 MB / 485.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.471e-05/0.4281, allocations: 28.14 kB / 485.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.4281, allocations: 11.44 kB / 485.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4281, allocations: 0 / 485.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of Templates: time 0.009934/0.4381, allocations: 5.908 MB / 491.2 MB, free: 6.637 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)