Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.121/2.121, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004795, allocations: 12 kB / 264 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3201, allocations: 44.51 MB / 308.6 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.0018/0.322, allocations: 1.043 MB / 309.6 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.5561/0.8782, allocations: 127.4 MB / 437 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.8783, allocations: 0 / 437 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.602e-05/0.8784, allocations: 2.156 kB / 437 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.8796, allocations: 254.7 kB / 437.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.8819, allocations: 0.5828 MB / 437.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.882, allocations: 45.86 kB / 437.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.882, allocations: 1.656 kB / 437.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.584e-05/0.8821, allocations: 39.91 kB / 437.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.277e-05/0.8822, allocations: 30.39 kB / 437.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.8823, allocations: 2.719 kB / 437.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.8854, allocations: 1.046 MB / 439 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.8855, allocations: 9.266 kB / 439 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.8855, allocations: 37.5 kB / 439 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.887, allocations: 0.4901 MB / 439.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.887, allocations: 3.938 kB / 439.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.887, allocations: 0 / 439.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.887, allocations: 0 / 439.5 MB, free: 14.4 MB / 362.7 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.0008398/0.8879, allocations: 467.1 kB / 440 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.8879, allocations: 10.97 kB / 440 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.888, allocations: 33.59 kB / 440 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004096/0.8884, allocations: 38.08 kB / 440.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.8887, allocations: 196.4 kB / 440.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.8887, allocations: 4 kB / 440.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.8887, allocations: 2.812 kB / 440.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.889, allocations: 77.11 kB / 440.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.889, allocations: 3.938 kB / 440.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.889, allocations: 0 / 440.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.889, allocations: 3.953 kB / 440.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.8892, allocations: 41.5 kB / 440.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.8895, allocations: 195.5 kB / 440.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.8899, allocations: 113.4 kB / 440.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.086e-05/0.89, allocations: 15.84 kB / 440.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.8901, allocations: 36.34 kB / 440.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.8901, allocations: 0 / 440.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005511/0.8906, allocations: 121.4 kB / 440.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.8907, allocations: 79.73 kB / 440.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.8909, allocations: 144.2 kB / 441.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.8909, allocations: 28.8 kB / 441.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.891, allocations: 89.72 kB / 441.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.891, allocations: 24.17 kB / 441.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.8911, allocations: 4 kB / 441.2 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.8912, allocations: 318.3 kB / 441.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.8913, allocations: 30.94 kB / 441.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.8915, allocations: 48.34 kB / 441.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.8916, allocations: 29.53 kB / 441.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8916, allocations: 0 / 441.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003721/0.892, allocations: 112.3 kB / 441.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.892, allocations: 7.406 kB / 441.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8921, allocations: 0 / 441.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.8921, allocations: 3.156 kB / 441.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.8922, allocations: 19.25 kB / 441.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.8922, allocations: 0 / 441.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.292e-05/0.8923, allocations: 7.062 kB / 441.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.8924, allocations: 12.73 kB / 441.8 MB, free: 12.59 MB / 362.7 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 0.0001123/0.8925, allocations: 114.4 kB / 441.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.8926, allocations: 7.219 kB / 441.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.893, allocations: 116.6 kB / 442 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.893, allocations: 3.312 kB / 442 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.893, allocations: 0 / 442 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.893, allocations: 0 / 442 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.8932, allocations: 186.9 kB / 442.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8932, allocations: 4 kB / 442.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.8934, allocations: 16.31 kB / 442.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.8934, allocations: 0 / 442.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.8934, allocations: 6.875 kB / 442.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.8934, allocations: 0 / 442.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8934, allocations: 0 / 442.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/0.8939, allocations: 167 kB / 442.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.8941, allocations: 96.92 kB / 442.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.8941, allocations: 2.281 kB / 442.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.8942, allocations: 0 / 442.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.8942, allocations: 6.969 kB / 442.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.8943, allocations: 9.031 kB / 442.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.8944, allocations: 110.2 kB / 442.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8944, allocations: 0 / 442.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009452/0.8953, allocations: 198.1 kB / 442.8 MB, free: 11.94 MB / 362.7 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.002489/0.8978, allocations: 1.038 MB / 443.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.8982, allocations: 67.94 kB / 443.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8982, allocations: 0 / 443.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.8983, allocations: 36.47 kB / 444 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.8987, allocations: 28.11 kB / 444 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.9009, allocations: 0.9112 MB / 444.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.9014, allocations: 0.6905 MB / 445.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.9015, allocations: 17.61 kB / 445.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.9016, allocations: 22.02 kB / 445.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of SimCode: time 1.643e-06/0.9016, allocations: 2.594 kB / 445.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03982/0.9414, allocations: 7.297 MB / 452.9 MB, free: 6.422 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004039/0.9419, allocations: 244.1 kB / 453.2 MB, free: 6.176 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/3.669, allocations: 4 kB / 453.2 MB, free: 6.172 MB / 362.7 MB