Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.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.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_2_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 194.9 MB / 211.1 MB, free: 8.574 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.000353, allocations: 8 kB / 264 MB, free: 3.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3249, allocations: 44.51 MB / 308.5 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001487/0.3265, allocations: 0.9023 MB / 309.4 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003807/0.3303, allocations: 1.775 MB / 311.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.3304, allocations: 0 / 311.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.3304, allocations: 4 kB / 311.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.3319, allocations: 295.2 kB / 311.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.884e-05/0.3319, allocations: 0 / 311.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.935e-05/0.332, allocations: 7.984 kB / 311.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.332, allocations: 0 / 311.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.527e-05/0.3321, allocations: 7.938 kB / 311.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3322, allocations: 14.97 kB / 311.5 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.3322, allocations: 0 / 311.5 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009011/0.3331, allocations: 347.5 kB / 311.9 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.3332, allocations: 0 / 311.9 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.3332, allocations: 25.7 kB / 311.9 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000664/0.3339, allocations: 227.6 kB / 312.1 MB, free: 9.176 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3339, allocations: 0 / 312.1 MB, free: 9.176 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3339, allocations: 0 / 312.1 MB, free: 9.176 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.334, allocations: 0 / 312.1 MB, free: 9.176 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008427/0.3348, allocations: 399.3 kB / 312.5 MB, free: 8.738 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.3349, allocations: 8.031 kB / 312.5 MB, free: 8.73 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.553e-05/0.335, allocations: 105.8 kB / 312.6 MB, free: 8.617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.3351, allocations: 79.22 kB / 312.7 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.3353, allocations: 262.2 kB / 313 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.3355, allocations: 150.6 kB / 313.1 MB, free: 8.094 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.445e-05/0.3356, allocations: 154.5 kB / 313.3 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.3357, allocations: 101 kB / 313.4 MB, free: 7.836 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.106e-05/0.3358, allocations: 75.28 kB / 313.4 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-05/0.3359, allocations: 154.6 kB / 313.6 MB, free: 7.609 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.968e-05/0.336, allocations: 158.5 kB / 313.7 MB, free: 7.453 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.3361, allocations: 154.6 kB / 313.9 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.3365, allocations: 445.9 kB / 314.3 MB, free: 6.816 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.3366, allocations: 177.1 kB / 314.5 MB, free: 6.633 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.3366, allocations: 79.28 kB / 314.6 MB, free: 6.555 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.3368, allocations: 43.41 kB / 314.6 MB, free: 6.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 3.387e-06/0.3368, allocations: 0 / 314.6 MB, free: 6.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.000146/0.337, allocations: 33.64 kB / 314.7 MB, free: 6.461 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.337, allocations: 51.41 kB / 314.7 MB, free: 6.398 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3371, allocations: 106 kB / 314.8 MB, free: 6.285 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3372, allocations: 29.7 kB / 314.8 MB, free: 6.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.3372, allocations: 84.14 kB / 314.9 MB, free: 6.164 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.3372, allocations: 0 / 314.9 MB, free: 6.164 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-06/0.3372, allocations: 0 / 314.9 MB, free: 6.164 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3374, allocations: 318.8 kB / 315.2 MB, free: 5.844 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.3374, allocations: 0 / 315.2 MB, free: 5.844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.3374, allocations: 0 / 315.2 MB, free: 5.844 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.551e-05/0.3375, allocations: 48 / 315.2 MB, free: 5.844 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.3375, allocations: 8.062 kB / 315.2 MB, free: 5.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.724e-05/0.3375, allocations: 37.62 kB / 315.3 MB, free: 5.793 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3376, allocations: 4 kB / 315.3 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3376, allocations: 0 / 315.3 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3376, allocations: 0 / 315.3 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.178e-05/0.3376, allocations: 0 / 315.3 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3377, allocations: 4 kB / 315.3 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.3377, allocations: 4 kB / 315.3 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3377, allocations: 0 / 315.3 MB, free: 5.781 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.995e-05/0.3378, allocations: 119 kB / 315.4 MB, free: 5.656 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.3378, allocations: 11.89 kB / 315.4 MB, free: 5.645 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.3379, allocations: 11.05 kB / 315.4 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3379, allocations: 0 / 315.4 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3379, allocations: 0 / 315.4 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3379, allocations: 0 / 315.4 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.3381, allocations: 157.6 kB / 315.6 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3381, allocations: 0 / 315.6 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-06/0.3381, allocations: 0 / 315.6 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3381, allocations: 0 / 315.6 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.3381, allocations: 0 / 315.6 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3381, allocations: 4 kB / 315.6 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3382, allocations: 4 kB / 315.6 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.223e-05/0.3383, allocations: 57.06 kB / 315.6 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.3383, allocations: 85.06 kB / 315.7 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.3384, allocations: 7.938 kB / 315.7 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.3384, allocations: 0 / 315.7 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.3384, allocations: 0 / 315.7 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3384, allocations: 8.031 kB / 315.7 MB, free: 5.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.687e-05/0.3385, allocations: 83.27 kB / 315.8 MB, free: 5.148 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3385, allocations: 0 / 315.8 MB, free: 5.148 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005761/0.3391, allocations: 124 kB / 315.9 MB, free: 5.027 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.001668/0.3408, allocations: 0.9743 MB / 316.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.148e-05/0.3409, allocations: 0 / 316.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3409, allocations: 0 / 316.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.3409, allocations: 4 kB / 316.9 MB, free: 4.07 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.341, allocations: 0 / 316.9 MB, free: 4.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007889/0.3418, allocations: 402.5 kB / 317.3 MB, free: 3.629 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.3421, allocations: 0.6771 MB / 318 MB, free: 2.926 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.3422, allocations: 7.984 kB / 318 MB, free: 2.918 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.3423, allocations: 15.42 kB / 318 MB, free: 2.906 MB / 250.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3423, allocations: 0 / 318 MB, free: 2.906 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.3721, allocations: 3.572 MB / 321.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.3724, allocations: 223.1 kB / 321.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/3.022, allocations: 0 / 321.8 MB, free: 15.08 MB / 266.7 MB