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_T.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_T,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.906/1.906, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005538/0.0005539, allocations: 8 kB / 264.1 MB, free: 2.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2869, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001678/0.2887, allocations: 1.035 MB / 309.6 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.4905/0.7792, allocations: 127.1 MB / 436.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.7793, allocations: 3.781 kB / 436.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.7794, allocations: 6.094 kB / 436.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009609/0.7803, allocations: 194.5 kB / 436.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.7823, allocations: 474.8 kB / 437.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.7824, allocations: 41.78 kB / 437.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.7825, allocations: 2.422 kB / 437.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.42e-05/0.7826, allocations: 17.05 kB / 437.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.7827, allocations: 34.62 kB / 437.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.7827, allocations: 0 / 437.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.7848, allocations: 0.6404 MB / 438 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.7849, allocations: 13.06 kB / 438.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.785, allocations: 35.58 kB / 438.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009991/0.786, allocations: 345.4 kB / 438.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.786, allocations: 2.938 kB / 438.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.786, allocations: 0 / 438.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.786, allocations: 0 / 438.4 MB, free: 14.53 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.0006722/0.7867, allocations: 436.5 kB / 438.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.7868, allocations: 10.91 kB / 438.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.7868, allocations: 31.44 kB / 438.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.7885, allocations: 105.4 kB / 439 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.7889, allocations: 215.2 kB / 439.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.7889, allocations: 3.625 kB / 439.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.789, allocations: 7.031 kB / 439.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.7893, allocations: 89.03 kB / 439.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.7893, allocations: 6.812 kB / 439.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.7893, allocations: 2.562 kB / 439.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.7894, allocations: 0 / 439.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.7896, allocations: 43.98 kB / 439.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.79, allocations: 209.2 kB / 439.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006906/0.7907, allocations: 121.6 kB / 439.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007751/0.7915, allocations: 0.9715 MB / 440.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.7915, allocations: 39.38 kB / 440.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.997e-06/0.7915, allocations: 3.984 kB / 440.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007328/0.7923, allocations: 132.1 kB / 440.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.7924, allocations: 86.62 kB / 440.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.7927, allocations: 153.7 kB / 441.1 MB, free: 12.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.7927, allocations: 28.33 kB / 441.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.7928, allocations: 86.77 kB / 441.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.7928, allocations: 24.09 kB / 441.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.7929, allocations: 0 / 441.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.793, allocations: 319.3 kB / 441.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.7932, allocations: 26.56 kB / 441.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.7934, allocations: 58.22 kB / 441.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.7936, allocations: 31 kB / 441.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7936, allocations: 0 / 441.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000518/0.7941, allocations: 121.4 kB / 441.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7941, allocations: 7.812 kB / 441.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7942, allocations: 3 kB / 441.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7942, allocations: 2.203 kB / 441.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.7944, allocations: 26.64 kB / 441.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.7945, allocations: 0 / 441.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.7948, allocations: 11.03 kB / 441.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.7948, allocations: 14.14 kB / 441.8 MB, free: 11.62 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.0001304/0.795, allocations: 122.1 kB / 441.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.795, allocations: 7.156 kB / 441.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008064/0.7958, allocations: 237.7 kB / 442.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.7959, allocations: 0 / 442.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7959, allocations: 0 / 442.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.7959, allocations: 6.969 kB / 442.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.7962, allocations: 220.8 kB / 442.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.7962, allocations: 2.734 kB / 442.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.7965, allocations: 22.8 kB / 442.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.7965, allocations: 0 / 442.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.7965, allocations: 3.25 kB / 442.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.7966, allocations: 3.938 kB / 442.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.7966, allocations: 0 / 442.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.7972, allocations: 181.2 kB / 442.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.7973, allocations: 97.23 kB / 442.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.7974, allocations: 2.812 kB / 442.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.7977, allocations: 12.61 kB / 442.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.7978, allocations: 11.22 kB / 442.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.7978, allocations: 2.094 kB / 442.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002525/0.798, allocations: 136.8 kB / 442.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7981, allocations: 0 / 442.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007992/0.7989, allocations: 166.7 kB / 443 MB, free: 10.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 (8): * Single equations (assignments): 7 * 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.002037/0.8009, allocations: 0.9694 MB / 444 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.8014, allocations: 76.2 kB / 444.1 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.8014, allocations: 4.125 kB / 444.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.8016, allocations: 43.89 kB / 444.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.8018, allocations: 16.52 kB / 444.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.8043, allocations: 0.9203 MB / 445 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.8046, allocations: 0.6911 MB / 445.7 MB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009216/0.8055, allocations: 434 kB / 446.2 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.8058, allocations: 49.55 kB / 446.2 MB, free: 8.996 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8058, allocations: 0 / 446.2 MB, free: 8.996 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.8382, allocations: 7.123 MB / 453.3 MB, free: 5.34 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003336/0.8386, allocations: 236.5 kB / 453.6 MB, free: 5.098 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/3.498, allocations: 0 / 453.6 MB, free: 5.098 MB / 362.7 MB