Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 194.9 MB / 211.1 MB, free: 8.746 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004878, allocations: 8 kB / 264.1 MB, free: 3.676 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.305, allocations: 44.5 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004727/0.3098, allocations: 2.81 MB / 311.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.3118, allocations: 0.9131 MB / 312.3 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.312, allocations: 7.938 kB / 312.3 MB, free: 9.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.3123, allocations: 75.44 kB / 312.4 MB, free: 8.961 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005427/0.3129, allocations: 187.5 kB / 312.5 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.3132, allocations: 99.83 kB / 312.6 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008111/0.314, allocations: 447.5 kB / 313.1 MB, free: 8.242 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.3144, allocations: 150 kB / 313.2 MB, free: 8.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.3147, allocations: 215.2 kB / 313.4 MB, free: 7.879 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004162/0.3151, allocations: 243 kB / 313.7 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.551e-05/0.3152, allocations: 32 kB / 313.7 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.3154, allocations: 32 kB / 313.7 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.3155, allocations: 91.66 kB / 313.8 MB, free: 7.488 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.3157, allocations: 125.5 kB / 313.9 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006912/0.3164, allocations: 487.5 kB / 314.4 MB, free: 6.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.3164, allocations: 0 / 314.4 MB, free: 6.883 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3164, allocations: 0 / 314.4 MB, free: 6.883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.3164, allocations: 0 / 314.4 MB, free: 6.883 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002008/0.3184, allocations: 0.7922 MB / 315.2 MB, free: 6.031 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3185, allocations: 8.031 kB / 315.2 MB, free: 6.023 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.3187, allocations: 75.09 kB / 315.3 MB, free: 5.941 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.3189, allocations: 67.3 kB / 315.4 MB, free: 5.875 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009171/0.3199, allocations: 393.6 kB / 315.7 MB, free: 5.453 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/0.3202, allocations: 82.31 kB / 315.8 MB, free: 5.367 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-05/0.3203, allocations: 32 kB / 315.9 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.3218, allocations: 0.4931 MB / 316.3 MB, free: 4.785 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.3218, allocations: 3.906 kB / 316.4 MB, free: 4.781 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/0.3219, allocations: 16 kB / 316.4 MB, free: 4.766 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.3219, allocations: 8 kB / 316.4 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.3236, allocations: 394.3 kB / 316.8 MB, free: 4.371 MB / 250.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.003084/0.3267, allocations: 1.252 MB / 318 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.328, allocations: 405.7 kB / 318.4 MB, free: 2.609 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.137e-05/0.328, allocations: 7.984 kB / 318.4 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.3281, allocations: 42.5 kB / 318.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 3.627e-06/0.3281, allocations: 4 kB / 318.5 MB, free: 2.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.003012/0.3311, allocations: 0.7908 MB / 319.3 MB, free: 1.707 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002353/0.3314, allocations: 441 kB / 319.7 MB, free: 1.172 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/0.3321, allocations: 406 kB / 320.1 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/0.3322, allocations: 41.7 kB / 320.1 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.3324, allocations: 236.4 kB / 320.4 MB, free: 496 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.3326, allocations: 118.2 kB / 320.5 MB, free: 376 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.3326, allocations: 8 kB / 320.5 MB, free: 368 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3328, allocations: 354.8 kB / 320.8 MB, free: 4 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007876/0.3336, allocations: 164 kB / 321 MB, free: 15.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009398/0.3346, allocations: 314.7 kB / 321.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/0.3354, allocations: 203.2 kB / 321.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3354, allocations: 0 / 321.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00192/0.3373, allocations: 0.5217 MB / 322 MB, free: 14.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.3374, allocations: 29.7 kB / 322 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3374, allocations: 0 / 322 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/0.3377, allocations: 53.64 kB / 322.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008052/0.3385, allocations: 103.8 kB / 322.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003469/0.342, allocations: 2.768 MB / 325 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008419/0.3428, allocations: 67.69 kB / 325 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.3429, allocations: 15.98 kB / 325 MB, free: 11.42 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003153/0.3432, allocations: 169.8 kB / 325.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.3434, allocations: 47.44 kB / 325.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.3435, allocations: 60.56 kB / 325.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.3435, allocations: 4.375 kB / 325.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3436, allocations: 0 / 325.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001782/0.3453, allocations: 0.7662 MB / 326.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.3481, allocations: 1.044 MB / 327.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.3481, allocations: 0 / 327.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008693/0.349, allocations: 99.88 kB / 327.2 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.349, allocations: 4 kB / 327.2 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.3491, allocations: 4 kB / 327.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.3491, allocations: 7.984 kB / 327.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3491, allocations: 0 / 327.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.3516, allocations: 0.7178 MB / 328 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.3518, allocations: 128.5 kB / 328.1 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.3519, allocations: 8 kB / 328.1 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007283/0.3526, allocations: 39.97 kB / 328.1 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.3528, allocations: 32.02 kB / 328.2 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.3528, allocations: 4 kB / 328.2 MB, free: 8.078 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004836/0.3533, allocations: 291.1 kB / 328.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3533, allocations: 0 / 328.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006333/0.3539, allocations: 131.8 kB / 328.6 MB, free: 7.664 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * 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.002839/0.3568, allocations: 1.266 MB / 329.8 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.3589, allocations: 0.6767 MB / 330.5 MB, free: 5.656 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.359, allocations: 4 kB / 330.5 MB, free: 5.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007982/0.3598, allocations: 207.7 kB / 330.7 MB, free: 5.449 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008848/0.3607, allocations: 113.8 kB / 330.8 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.364, allocations: 1.471 MB / 332.3 MB, free: 3.816 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.3645, allocations: 0.8313 MB / 333.1 MB, free: 2.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004315/0.365, allocations: 51.3 kB / 333.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.3653, allocations: 167.3 kB / 333.4 MB, free: 2.738 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3653, allocations: 0 / 333.4 MB, free: 2.738 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04315/0.4085, allocations: 11.3 MB / 344.7 MB, free: 7.461 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/0.4088, allocations: 205.9 kB / 344.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.129/3.538, allocations: 64 / 344.9 MB, free: 7.219 MB / 282.7 MB