Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.MoistAir.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.MoistAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 12 kB / 264 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2932, allocations: 44.5 MB / 308.5 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.5055/0.7988, allocations: 127.3 MB / 435.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.8011, allocations: 1.358 MB / 437.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.8013, allocations: 0 / 437.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.8017, allocations: 48.7 kB / 437.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.8022, allocations: 116.4 kB / 437.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.8048, allocations: 0.6058 MB / 438 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004268/0.8053, allocations: 182.4 kB / 438.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.81e-05/0.8054, allocations: 8.828 kB / 438.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005057/0.8059, allocations: 165.2 kB / 438.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.8061, allocations: 89.62 kB / 438.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.8062, allocations: 13.89 kB / 438.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/0.8094, allocations: 1.165 MB / 439.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.8096, allocations: 58.23 kB / 439.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.8098, allocations: 64.48 kB / 439.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.8112, allocations: 0.5121 MB / 440.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.8112, allocations: 0 / 440.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.8112, allocations: 0 / 440.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.8113, allocations: 0 / 440.2 MB, free: 13.85 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002359/0.8136, allocations: 0.6079 MB / 440.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.8137, allocations: 8.375 kB / 440.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.763e-05/0.8138, allocations: 53.7 kB / 440.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.814, allocations: 27.73 kB / 440.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.8143, allocations: 205.2 kB / 441.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.8144, allocations: 10.61 kB / 441.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.8144, allocations: 17.14 kB / 441.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000863/0.8153, allocations: 256 kB / 441.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.8154, allocations: 0 / 441.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.8154, allocations: 9.328 kB / 441.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.8155, allocations: 17.22 kB / 441.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.8165, allocations: 263.1 kB / 441.7 MB, free: 13.08 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.002253/0.8188, allocations: 0.7894 MB / 442.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.8198, allocations: 218.1 kB / 442.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004629/0.8203, allocations: 356.8 kB / 443 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.8204, allocations: 37.95 kB / 443 MB, free: 12.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.955e-06/0.8204, allocations: 1.406 kB / 443 MB, free: 12.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.004123/0.8245, allocations: 0.6792 MB / 443.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.8246, allocations: 80.17 kB / 443.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.8248, allocations: 117.3 kB / 443.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.8249, allocations: 32.23 kB / 444 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.825, allocations: 110.1 kB / 444.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.8251, allocations: 127 kB / 444.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.8252, allocations: 11.17 kB / 444.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8253, allocations: 324.6 kB / 444.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.826, allocations: 137.8 kB / 444.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006969/0.8267, allocations: 200.7 kB / 444.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007304/0.8274, allocations: 161.2 kB / 445 MB, free: 10.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8275, allocations: 0 / 445 MB, free: 10.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001657/0.8291, allocations: 402.3 kB / 445.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.8292, allocations: 9.703 kB / 445.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.8292, allocations: 2.531 kB / 445.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.8293, allocations: 8.828 kB / 445.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008998/0.8302, allocations: 85.75 kB / 445.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.8302, allocations: 8.25 kB / 445.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.8308, allocations: 31.86 kB / 445.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.8309, allocations: 16.67 kB / 445.6 MB, free: 10.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0002998/0.8312, allocations: 138.5 kB / 445.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.8313, allocations: 15.94 kB / 445.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006093/0.8319, allocations: 177.5 kB / 445.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.832, allocations: 8.984 kB / 445.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.832, allocations: 4 kB / 445.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.832, allocations: 3.984 kB / 445.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.8348, allocations: 0.7528 MB / 446.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.8348, allocations: 0 / 446.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000871/0.8357, allocations: 80.72 kB / 446.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.8357, allocations: 9.562 kB / 446.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.8358, allocations: 8.156 kB / 446.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.988e-06/0.8358, allocations: 6.781 kB / 446.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8358, allocations: 2.625 kB / 446.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.8381, allocations: 0.7132 MB / 447.5 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.8383, allocations: 121.2 kB / 447.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.8384, allocations: 7.25 kB / 447.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/0.839, allocations: 25.36 kB / 447.6 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.8391, allocations: 29.14 kB / 447.6 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/0.8392, allocations: 16.52 kB / 447.7 MB, free: 9.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.167e-05/0.8393, allocations: 97.05 kB / 447.8 MB, free: 9.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8393, allocations: 288 / 447.8 MB, free: 9.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007839/0.8401, allocations: 138.9 kB / 447.9 MB, free: 9.453 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.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 (38): * Single equations (assignments): 38 * 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.003202/0.8433, allocations: 1.367 MB / 449.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.8448, allocations: 337 kB / 449.6 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.8449, allocations: 3.094 kB / 449.6 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007312/0.8456, allocations: 181.2 kB / 449.8 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.8467, allocations: 89.77 kB / 449.9 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/0.852, allocations: 1.573 MB / 451.4 MB, free: 7.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.8525, allocations: 0.7332 MB / 452.2 MB, free: 6.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007617/0.8533, allocations: 79.48 kB / 452.2 MB, free: 6.703 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.8535, allocations: 67.2 kB / 452.3 MB, free: 6.688 MB / 362.7 MB Notification: Performance of SimCode: time 1.193e-06/0.8535, allocations: 0 / 452.3 MB, free: 6.688 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.886, allocations: 7.468 MB / 459.8 MB, free: 2.91 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/0.8863, allocations: 166.7 kB / 459.9 MB, free: 2.664 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/3.816, allocations: 3.938 kB / 459.9 MB, free: 2.66 MB / 362.7 MB