Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.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) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.924/3.924, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.641e-05/4.654e-05, allocations: 3.938 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2654, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.453, allocations: 374 MB / 0.9999 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/1.454, allocations: 86.08 kB / 1 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.759/6.213, allocations: 0.8971 GB / 1.897 GB, free: 116.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.104e-06/6.213, allocations: 2.156 kB / 1.897 GB, free: 116.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002404/6.213, allocations: 55.19 kB / 1.897 GB, free: 116.6 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.005282/6.218, allocations: 1.869 MB / 1.899 GB, free: 115.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/6.218, allocations: 10.62 kB / 1.899 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004284/6.219, allocations: 162.8 kB / 1.899 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00553/6.224, allocations: 0.5945 MB / 1.9 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005937/6.23, allocations: 1.476 MB / 1.901 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.786e-05/6.23, allocations: 78.97 kB / 1.901 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/6.231, allocations: 114.5 kB / 1.901 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/6.234, allocations: 1.149 MB / 1.902 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/6.234, allocations: 10.53 kB / 1.902 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/6.234, allocations: 46.45 kB / 1.903 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/6.234, allocations: 24.38 kB / 1.903 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/6.237, allocations: 0.9015 MB / 1.903 GB, free: 112.7 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.01257/6.249, allocations: 6.379 MB / 1.91 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/6.252, allocations: 0.9115 MB / 1.911 GB, free: 106.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/6.253, allocations: 481.8 kB / 1.911 GB, free: 106.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002134/6.255, allocations: 2.262 MB / 1.913 GB, free: 103.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/6.257, allocations: 0.6484 MB / 1.914 GB, free: 103.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=96): time 5.37e-06/6.257, allocations: 3.562 kB / 1.914 GB, free: 103.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=96): time 0.00335/6.26, allocations: 1.16 MB / 1.915 GB, free: 102.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/6.26, allocations: 146 kB / 1.915 GB, free: 102.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/6.262, allocations: 1.039 MB / 1.916 GB, free: 102.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003077/6.263, allocations: 45.52 kB / 1.916 GB, free: 102.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007488/6.263, allocations: 0.7072 MB / 1.917 GB, free: 101.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004841/6.264, allocations: 316.6 kB / 1.917 GB, free: 101.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/6.264, allocations: 18.69 kB / 1.917 GB, free: 101.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001027/6.264, allocations: 342.7 kB / 1.918 GB, free: 100.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/6.265, allocations: 401 kB / 1.918 GB, free: 100.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/6.267, allocations: 0.6638 MB / 1.919 GB, free: 100.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/6.268, allocations: 0.5384 MB / 1.919 GB, free: 99.86 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/6.268, allocations: 0 / 1.919 GB, free: 99.86 MB / 0.823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00356/6.271, allocations: 1.312 MB / 1.92 GB, free: 99.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004415/6.272, allocations: 1.72 MB / 1.922 GB, free: 97.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/6.272, allocations: 3.094 kB / 1.922 GB, free: 97.34 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.303e-05/6.272, allocations: 9.906 kB / 1.922 GB, free: 97.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/6.274, allocations: 280.3 kB / 1.922 GB, free: 97.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/6.274, allocations: 5.938 kB / 1.922 GB, free: 97.27 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/6.277, allocations: 245 kB / 1.923 GB, free: 97.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002849/6.278, allocations: 57.97 kB / 1.923 GB, free: 97.14 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/6.278, allocations: 6.875 kB / 1.923 GB, free: 97.14 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003124/6.281, allocations: 1.204 MB / 1.924 GB, free: 96.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/6.281, allocations: 3.625 kB / 1.924 GB, free: 96.55 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/6.281, allocations: 6.406 kB / 1.924 GB, free: 96.55 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/6.283, allocations: 277.8 kB / 1.924 GB, free: 96.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/6.283, allocations: 11.52 kB / 1.924 GB, free: 96.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/6.286, allocations: 235.6 kB / 1.924 GB, free: 96.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002567/6.286, allocations: 58.56 kB / 1.924 GB, free: 96.36 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 3 * 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.0004856/6.287, allocations: 271.6 kB / 1.925 GB, free: 96.11 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004662/6.287, allocations: 164.4 kB / 1.925 GB, free: 96.03 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005147/6.292, allocations: 1.854 MB / 1.927 GB, free: 94.25 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.762e-05/6.293, allocations: 19.94 kB / 1.927 GB, free: 94.23 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/6.293, allocations: 0 / 1.927 GB, free: 94.23 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/6.293, allocations: 3.984 kB / 1.927 GB, free: 94.23 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007663/6.3, allocations: 3.142 MB / 1.93 GB, free: 91.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/6.3, allocations: 0 / 1.93 GB, free: 91.04 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/6.302, allocations: 229.2 kB / 1.93 GB, free: 90.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-05/6.302, allocations: 6.75 kB / 1.93 GB, free: 90.82 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/6.303, allocations: 35.97 kB / 1.93 GB, free: 90.79 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.337e-06/6.303, allocations: 4 kB / 1.93 GB, free: 90.78 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/6.303, allocations: 0 / 1.93 GB, free: 90.78 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005602/6.308, allocations: 2.426 MB / 1.932 GB, free: 88.31 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/6.31, allocations: 394.2 kB / 1.933 GB, free: 87.91 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000382/6.31, allocations: 24 kB / 1.933 GB, free: 87.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/6.313, allocations: 175 kB / 1.933 GB, free: 87.72 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/6.313, allocations: 74.19 kB / 1.933 GB, free: 87.65 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/6.313, allocations: 51.97 kB / 1.933 GB, free: 87.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001632/6.315, allocations: 0.7982 MB / 1.934 GB, free: 86.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.91e-07/6.315, allocations: 2.594 kB / 1.934 GB, free: 86.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003886/6.319, allocations: 0.9079 MB / 1.935 GB, free: 85.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.007611/6.326, allocations: 3.826 MB / 1.938 GB, free: 82.22 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004689/6.331, allocations: 2.261 MB / 1.941 GB, free: 79.89 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/6.331, allocations: 0.5625 kB / 1.941 GB, free: 79.89 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/6.333, allocations: 0.8975 MB / 1.942 GB, free: 78.96 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005211/6.338, allocations: 0.6101 MB / 1.942 GB, free: 78.38 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008111/6.346, allocations: 2.809 MB / 1.945 GB, free: 75.55 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008678/6.347, allocations: 1.309 MB / 1.946 GB, free: 74.21 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003434/6.35, allocations: 491.6 kB / 1.947 GB, free: 73.77 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/6.352, allocations: 0.6437 MB / 1.947 GB, free: 73.12 MB / 0.823 GB Notification: Performance of SimCode: time 1.252e-06/6.352, allocations: 0 / 1.947 GB, free: 73.12 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1294/6.481, allocations: 53.6 MB / 2 GB, free: 20.66 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/6.481, allocations: 210.2 kB / 2 GB, free: 20.43 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.344/11.83, allocations: 0 / 2 GB, free: 20.43 MB / 0.823 GB