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.HeaterCooler_u.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.502/4.502, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.995e-05, allocations: 4.406 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2215, allocations: 98.74 MB / 0.6289 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.755/6.977, allocations: 2.199 GB / 2.828 GB, free: 136.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/6.977, allocations: 92.41 kB / 2.828 GB, free: 136.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.088/12.07, allocations: 0.9953 GB / 3.824 GB, free: 74.33 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.285e-06/12.07, allocations: 0 / 3.824 GB, free: 74.33 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002821/12.07, allocations: 51.52 kB / 3.824 GB, free: 74.29 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.006574/12.07, allocations: 2.071 MB / 3.826 GB, free: 72.16 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/12.07, allocations: 8.031 kB / 3.826 GB, free: 72.15 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006111/12.08, allocations: 0.6217 MB / 3.826 GB, free: 71.53 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005093/12.08, allocations: 1.447 MB / 3.828 GB, free: 70.07 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006229/12.08, allocations: 114.2 kB / 3.828 GB, free: 69.95 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004653/12.08, allocations: 76 kB / 3.828 GB, free: 69.88 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004083/12.09, allocations: 0.9847 MB / 3.829 GB, free: 68.89 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005122/12.09, allocations: 1.192 MB / 3.83 GB, free: 67.62 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.068e-05/12.09, allocations: 0 / 3.83 GB, free: 67.62 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002954/12.09, allocations: 4 kB / 3.83 GB, free: 67.62 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.034e-05/12.09, allocations: 38.22 kB / 3.83 GB, free: 67.58 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.01777/12.11, allocations: 5.631 MB / 3.835 GB, free: 61.71 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/12.12, allocations: 0.9449 MB / 3.836 GB, free: 60.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/12.12, allocations: 453.8 kB / 3.837 GB, free: 60.29 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009714/12.12, allocations: 318.4 kB / 3.837 GB, free: 59.92 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001571/12.12, allocations: 0.5091 MB / 3.838 GB, free: 59.39 MB / 0.823 GB Notification: Performance of pre-optimization done (n=87): time 6.833e-06/12.12, allocations: 0 / 3.838 GB, free: 59.39 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.01594/12.14, allocations: 2.909 MB / 3.84 GB, free: 56.43 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/12.14, allocations: 196.6 kB / 3.841 GB, free: 56.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/12.14, allocations: 0.9213 MB / 3.842 GB, free: 55.27 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003772/12.14, allocations: 29.7 kB / 3.842 GB, free: 55.23 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/12.14, allocations: 0.7321 MB / 3.842 GB, free: 54.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005665/12.14, allocations: 311.3 kB / 3.843 GB, free: 54.19 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/12.14, allocations: 4 kB / 3.843 GB, free: 54.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001213/12.14, allocations: 341.9 kB / 3.843 GB, free: 53.84 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/12.14, allocations: 362.5 kB / 3.843 GB, free: 53.49 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/12.14, allocations: 0.5858 MB / 3.844 GB, free: 52.82 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008301/12.15, allocations: 1.323 MB / 3.845 GB, free: 51.47 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/12.15, allocations: 0 / 3.845 GB, free: 51.47 MB / 0.823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008513/12.16, allocations: 1.568 MB / 3.847 GB, free: 49.89 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004058/12.16, allocations: 1.291 MB / 3.848 GB, free: 48.53 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/12.16, allocations: 0 / 3.848 GB, free: 48.53 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/12.16, allocations: 410.9 kB / 3.848 GB, free: 48.12 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/12.16, allocations: 175.7 kB / 3.849 GB, free: 47.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/12.18, allocations: 6.507 MB / 3.855 GB, free: 41.06 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/12.18, allocations: 123.8 kB / 3.855 GB, free: 40.94 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003273/12.18, allocations: 36 kB / 3.855 GB, free: 40.91 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/12.18, allocations: 4 kB / 3.855 GB, free: 40.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007516/12.19, allocations: 1.374 MB / 3.856 GB, free: 39.52 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/12.19, allocations: 4 kB / 3.856 GB, free: 39.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/12.19, allocations: 407.2 kB / 3.857 GB, free: 39.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/12.19, allocations: 156 kB / 3.857 GB, free: 38.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/12.21, allocations: 7.453 MB / 3.864 GB, free: 31 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/12.21, allocations: 112 kB / 3.864 GB, free: 30.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/12.21, allocations: 43.98 kB / 3.864 GB, free: 30.85 MB / 0.823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 80 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004707/12.21, allocations: 158.6 kB / 3.864 GB, free: 30.68 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005015/12.22, allocations: 1.277 MB / 3.866 GB, free: 29.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000388/12.22, allocations: 158.1 kB / 3.866 GB, free: 29.24 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005162/12.22, allocations: 1.344 MB / 3.867 GB, free: 27.88 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/12.22, allocations: 12 kB / 3.867 GB, free: 27.87 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/12.22, allocations: 3.938 kB / 3.867 GB, free: 27.86 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00437/12.23, allocations: 1.223 MB / 3.868 GB, free: 26.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008988/12.24, allocations: 3.086 MB / 3.871 GB, free: 23.42 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/12.24, allocations: 4 kB / 3.871 GB, free: 23.42 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/12.24, allocations: 192.2 kB / 3.872 GB, free: 23.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006403/12.24, allocations: 197.5 kB / 3.872 GB, free: 23.03 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/12.24, allocations: 16.11 kB / 3.872 GB, free: 23.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003573/12.24, allocations: 2.414 MB / 3.874 GB, free: 20.46 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/12.24, allocations: 4 kB / 3.874 GB, free: 20.46 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006168/12.25, allocations: 2.273 MB / 3.876 GB, free: 17.99 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/12.25, allocations: 347.2 kB / 3.877 GB, free: 17.63 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003069/12.25, allocations: 15.98 kB / 3.877 GB, free: 17.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/12.25, allocations: 131.7 kB / 3.877 GB, free: 17.48 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/12.25, allocations: 68.59 kB / 3.877 GB, free: 17.42 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/12.25, allocations: 39.98 kB / 3.877 GB, free: 17.38 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001319/12.25, allocations: 0.6992 MB / 3.878 GB, free: 16.68 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.82e-07/12.25, allocations: 0 / 3.878 GB, free: 16.68 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005507/12.26, allocations: 0.9373 MB / 3.879 GB, free: 15.74 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01058/12.27, allocations: 6.36 MB / 3.885 GB, free: 9.086 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004792/12.28, allocations: 2.552 MB / 3.887 GB, free: 6.438 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/12.28, allocations: 4 kB / 3.887 GB, free: 6.434 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/12.28, allocations: 0.6726 MB / 3.888 GB, free: 5.742 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00639/12.28, allocations: 0.7293 MB / 3.889 GB, free: 5.016 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009937/12.29, allocations: 2.88 MB / 3.891 GB, free: 2.035 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/12.29, allocations: 1.397 MB / 3.893 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003195/12.3, allocations: 419.4 kB / 3.893 GB, free: 200 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/12.3, allocations: 0.6048 MB / 3.894 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of SimCode: time 1.553e-06/12.3, allocations: 0 / 3.894 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8083/13.11, allocations: 63.65 MB / 3.956 GB, free: 126.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/13.11, allocations: 176.7 kB / 3.956 GB, free: 126.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.572/18.68, allocations: 4 kB / 3.956 GB, free: 126.5 MB / 0.8386 GB