Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.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.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.165/2.165, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.000382, allocations: 12 kB / 264 MB, free: 3.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2941, allocations: 44.5 MB / 308.5 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.507/0.8012, allocations: 125.8 MB / 434.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.8043, allocations: 1.725 MB / 436 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.646e-05/0.8045, allocations: 0 / 436 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.8048, allocations: 45.06 kB / 436.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.8067, allocations: 436.2 kB / 436.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.8072, allocations: 82.91 kB / 436.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.8076, allocations: 160 kB / 436.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/0.8077, allocations: 6.094 kB / 436.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005194/0.8082, allocations: 181.2 kB / 436.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.8085, allocations: 70.16 kB / 437 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.8085, allocations: 4.719 kB / 437 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.8109, allocations: 0.7099 MB / 437.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.8111, allocations: 75.11 kB / 437.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.8112, allocations: 63.05 kB / 437.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.8132, allocations: 451.2 kB / 438.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.8133, allocations: 0 / 438.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.449e-06/0.8133, allocations: 0 / 438.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.8134, allocations: 0 / 438.3 MB, free: 14.62 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001086/0.8145, allocations: 470 kB / 438.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.8145, allocations: 11.69 kB / 438.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.47e-05/0.8146, allocations: 56.19 kB / 438.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.8177, allocations: 261.4 kB / 439.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.8182, allocations: 249 kB / 439.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.8183, allocations: 12.64 kB / 439.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.8184, allocations: 17.66 kB / 439.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.8196, allocations: 0.4936 MB / 439.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.8197, allocations: 0 / 439.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/0.8198, allocations: 6.344 kB / 439.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.632e-05/0.8198, allocations: 13.28 kB / 439.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.8212, allocations: 0.5886 MB / 440.4 MB, free: 13.88 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.8249, allocations: 1.006 MB / 441.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.8255, allocations: 243.2 kB / 441.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/0.8268, allocations: 263.6 kB / 441.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.8269, allocations: 48.97 kB / 442 MB, free: 13.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.996e-06/0.8269, allocations: 0 / 442 MB, free: 13.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.003364/0.8303, allocations: 0.5923 MB / 442.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.8304, allocations: 80.08 kB / 442.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.8306, allocations: 131.1 kB / 442.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.8307, allocations: 33.77 kB / 442.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.8308, allocations: 114.7 kB / 442.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.831, allocations: 111.6 kB / 443 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.831, allocations: 5.906 kB / 443 MB, free: 12.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.8312, allocations: 324 kB / 443.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005822/0.8318, allocations: 183.9 kB / 443.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/0.8324, allocations: 286.7 kB / 443.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/0.833, allocations: 219.1 kB / 444 MB, free: 12.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.8331, allocations: 0 / 444 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002398/0.8355, allocations: 0.5147 MB / 444.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.944e-05/0.8356, allocations: 11.02 kB / 444.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.8357, allocations: 5.656 kB / 444.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.4e-05/0.8357, allocations: 8.844 kB / 444.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.8369, allocations: 77.77 kB / 444.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.526e-05/0.837, allocations: 14.05 kB / 444.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.8377, allocations: 47.58 kB / 444.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.8378, allocations: 13.12 kB / 444.7 MB, free: 12.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.0002771/0.8381, allocations: 149.5 kB / 444.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.8383, allocations: 18.02 kB / 444.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.8399, allocations: 497.3 kB / 445.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.84, allocations: 6.844 kB / 445.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.84, allocations: 0 / 445.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.84, allocations: 13.34 kB / 445.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.8413, allocations: 448.3 kB / 445.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.8414, allocations: 0 / 445.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009585/0.8423, allocations: 64.05 kB / 445.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.8424, allocations: 2.531 kB / 445.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.617e-05/0.8424, allocations: 13.73 kB / 445.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.824e-06/0.8425, allocations: 3.953 kB / 445.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8425, allocations: 2.719 kB / 445.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.8443, allocations: 0.6873 MB / 446.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.8445, allocations: 97.94 kB / 446.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.163e-05/0.8446, allocations: 8.375 kB / 446.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008841/0.8455, allocations: 29.42 kB / 446.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.8456, allocations: 17.17 kB / 446.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.51e-05/0.8457, allocations: 17.34 kB / 446.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.8458, allocations: 104.5 kB / 446.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8458, allocations: 0 / 446.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009899/0.8468, allocations: 149 kB / 447 MB, free: 10.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * 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.00332/0.8501, allocations: 1.42 MB / 448.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.8515, allocations: 441.4 kB / 448.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.8516, allocations: 0 / 448.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005803/0.8522, allocations: 214.3 kB / 449.1 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.8533, allocations: 93.92 kB / 449.2 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/0.8584, allocations: 2.037 MB / 451.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.8589, allocations: 0.7513 MB / 451.9 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001245/0.8602, allocations: 114.5 kB / 452.1 MB, free: 7.852 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.8605, allocations: 58.02 kB / 452.1 MB, free: 7.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.8606, allocations: 0 / 452.1 MB, free: 7.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/0.9014, allocations: 9.718 MB / 461.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003725/0.9018, allocations: 172.2 kB / 462 MB, free: 2.684 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/3.979, allocations: 0 / 462 MB, free: 2.684 MB / 362.7 MB