Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.489/4.489, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.756e-05, allocations: 7.672 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2388, allocations: 98.74 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.23/1.469, allocations: 393.6 MB / 1.013 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003826/1.469, allocations: 97.47 kB / 1.013 GB, free: 7.82 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 15.04/16.51, allocations: 2.623 GB / 3.636 GB, free: 39.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.956e-06/16.51, allocations: 0 / 3.636 GB, free: 39.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.00127/16.51, allocations: 174.7 kB / 3.636 GB, free: 39.87 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02188/16.53, allocations: 5.901 MB / 3.642 GB, free: 36.81 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/16.53, allocations: 11.38 kB / 3.642 GB, free: 36.81 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005501/16.54, allocations: 0.7736 MB / 3.643 GB, free: 36.44 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2008/16.74, allocations: 57.12 MB / 3.698 GB, free: 31.09 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/16.74, allocations: 127.6 kB / 3.699 GB, free: 31.09 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/16.74, allocations: 255.1 kB / 3.699 GB, free: 31.09 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01036/16.75, allocations: 2.523 MB / 3.701 GB, free: 30.04 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/16.77, allocations: 3.542 MB / 3.705 GB, free: 28.25 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002649/16.77, allocations: 15.62 kB / 3.705 GB, free: 28.24 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001246/16.77, allocations: 9.672 kB / 3.705 GB, free: 28.24 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/16.77, allocations: 127.7 kB / 3.705 GB, free: 28.23 MB / 0.9323 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.04458/16.81, allocations: 23.42 MB / 3.728 GB, free: 8.41 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004713/16.82, allocations: 2.834 MB / 3.73 GB, free: 5.477 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002465/16.82, allocations: 0.9742 MB / 3.731 GB, free: 4.555 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003387/16.82, allocations: 3.778 MB / 3.735 GB, free: 48 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/16.82, allocations: 68.58 kB / 3.735 GB, free: 15.97 MB / 0.948 GB Notification: Performance of pre-optimization done (n=222): time 6.452e-06/16.82, allocations: 0 / 3.735 GB, free: 15.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=222): time 0.01431/16.84, allocations: 2.864 MB / 3.738 GB, free: 13.34 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/16.84, allocations: 77.41 kB / 3.738 GB, free: 13.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/16.85, allocations: 3.292 MB / 3.741 GB, free: 9.984 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006745/16.85, allocations: 29.7 kB / 3.741 GB, free: 9.949 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004733/16.85, allocations: 2.824 MB / 3.744 GB, free: 7.094 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001728/16.86, allocations: 0.7428 MB / 3.745 GB, free: 6.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/16.86, allocations: 4 kB / 3.745 GB, free: 6.336 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003502/16.86, allocations: 405 kB / 3.745 GB, free: 5.938 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/16.86, allocations: 0.7239 MB / 3.746 GB, free: 5.211 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003945/16.86, allocations: 1.703 MB / 3.748 GB, free: 3.066 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006998/16.87, allocations: 1.368 MB / 3.749 GB, free: 1.695 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.929e-05/16.87, allocations: 4 kB / 3.749 GB, free: 1.691 MB / 0.948 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01692/16.89, allocations: 3.478 MB / 3.752 GB, free: 14.19 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.005305/16.89, allocations: 10.35 MB / 3.762 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/16.89, allocations: 20 kB / 3.762 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/16.89, allocations: 339.2 kB / 3.763 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004046/16.9, allocations: 0.5221 MB / 3.763 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003868/16.9, allocations: 2.758 MB / 3.766 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008882/16.91, allocations: 0.5049 MB / 3.766 GB, free: 14.87 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009546/16.91, allocations: 136 kB / 3.767 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/16.91, allocations: 4 kB / 3.767 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01291/16.93, allocations: 2.759 MB / 3.769 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.035e-05/16.93, allocations: 20 kB / 3.769 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/16.93, allocations: 348 kB / 3.77 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003957/16.93, allocations: 0.5226 MB / 3.77 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/16.95, allocations: 7.409 MB / 3.777 GB, free: 3.152 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008572/16.95, allocations: 457.6 kB / 3.778 GB, free: 2.703 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009009/16.96, allocations: 136 kB / 3.778 GB, free: 2.57 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * 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: 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 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008988/16.96, allocations: 180.6 kB / 3.778 GB, free: 2.387 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 1.11/18.07, allocations: 2.717 MB / 3.781 GB, free: 85.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002397/18.07, allocations: 0.4946 MB / 3.781 GB, free: 85.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01677/18.09, allocations: 3.716 MB / 3.785 GB, free: 85.57 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001705/18.09, allocations: 37.97 kB / 3.785 GB, free: 85.57 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/18.09, allocations: 0 / 3.785 GB, free: 85.57 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01142/18.1, allocations: 2.59 MB / 3.787 GB, free: 85.37 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.02981/18.13, allocations: 7.925 MB / 3.795 GB, free: 84.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-05/18.13, allocations: 3.141 kB / 3.795 GB, free: 84.07 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003157/18.13, allocations: 377.5 kB / 3.796 GB, free: 84.07 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008717/18.13, allocations: 228.3 kB / 3.796 GB, free: 84.04 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004408/18.13, allocations: 35.42 kB / 3.796 GB, free: 84.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/18.13, allocations: 2.507 MB / 3.798 GB, free: 81.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/18.13, allocations: 1.688 kB / 3.798 GB, free: 81.97 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/18.15, allocations: 4.565 MB / 3.803 GB, free: 81.39 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004789/18.15, allocations: 0.9284 MB / 3.804 GB, free: 81.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00214/18.16, allocations: 7.094 kB / 3.804 GB, free: 81.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007424/18.16, allocations: 385.7 kB / 3.804 GB, free: 81.01 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007024/18.17, allocations: 154.3 kB / 3.804 GB, free: 81.01 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000354/18.17, allocations: 80.53 kB / 3.804 GB, free: 81.01 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.007301/18.17, allocations: 2.443 MB / 3.807 GB, free: 80.83 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.943e-06/18.17, allocations: 0 / 3.807 GB, free: 80.83 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02131/18.19, allocations: 3.444 MB / 3.81 GB, free: 80.64 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 33 * 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 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.02344/18.22, allocations: 8.331 MB / 3.818 GB, free: 78.33 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01173/18.23, allocations: 4.215 MB / 3.822 GB, free: 77.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/18.23, allocations: 0 / 3.822 GB, free: 77.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00365/18.23, allocations: 1.21 MB / 3.823 GB, free: 77.79 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02435/18.26, allocations: 2.636 MB / 3.826 GB, free: 77.76 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03081/18.29, allocations: 8.304 MB / 3.834 GB, free: 75.75 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005316/18.29, allocations: 2.993 MB / 3.837 GB, free: 74.95 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01339/18.31, allocations: 1.457 MB / 3.838 GB, free: 74.86 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005562/18.31, allocations: 2.471 MB / 3.841 GB, free: 74.85 MB / 0.9792 GB Notification: Performance of SimCode: time 1.793e-06/18.31, allocations: 0 / 3.841 GB, free: 74.85 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3933/18.71, allocations: 159.7 MB / 3.997 GB, free: 63.68 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/18.71, allocations: 173.1 kB / 3.997 GB, free: 63.48 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/30.76, allocations: 0 / 3.997 GB, free: 63.48 MB / 0.9792 GB