Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.449/2.449, allocations: 248.5 MB / 261.1 MB, free: 6.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 182.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.2 MB / 0.571 GB, free: 11.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 94.42 kB / 0.6754 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.072e-05/4.093e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1974, allocations: 106.3 MB / 0.8907 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8402/1.038, allocations: 130.6 MB / 1.018 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/1.038, allocations: 76.62 kB / 1.018 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006702/1.039, allocations: 373.5 kB / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/1.039, allocations: 0 / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.298e-06/1.039, allocations: 0 / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003905/1.039, allocations: 310.4 kB / 1.019 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.95e-05/1.039, allocations: 12.09 kB / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.061e-05/1.039, allocations: 34.55 kB / 1.019 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/1.039, allocations: 0 / 1.019 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/1.04, allocations: 165.7 kB / 1.019 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/1.04, allocations: 3.438 kB / 1.019 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/1.04, allocations: 0 / 1.019 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/1.04, allocations: 33.64 kB / 1.019 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.04, allocations: 0 / 1.019 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/1.04, allocations: 0 / 1.019 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/1.04, allocations: 4 kB / 1.019 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.278e-05/1.04, allocations: 4 kB / 1.019 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/1.04, allocations: 379.3 kB / 1.02 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/1.041, allocations: 173.1 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/1.041, allocations: 80.14 kB / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/1.041, allocations: 79.28 kB / 1.02 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.04e-05/1.041, allocations: 109.6 kB / 1.02 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.823e-06/1.041, allocations: 0 / 1.02 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001029/1.041, allocations: 32.42 kB / 1.02 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/1.041, allocations: 134.6 kB / 1.02 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/1.041, allocations: 92.94 kB / 1.02 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/1.041, allocations: 25.7 kB / 1.02 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/1.041, allocations: 84.14 kB / 1.02 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/1.041, allocations: 0 / 1.02 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-07/1.041, allocations: 0 / 1.02 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.041, allocations: 314.1 kB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.658e-06/1.041, allocations: 3.938 kB / 1.021 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.149e-06/1.041, allocations: 0 / 1.021 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/1.041, allocations: 75.28 kB / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.91e-05/1.041, allocations: 79.41 kB / 1.021 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.942e-05/1.042, allocations: 29.7 kB / 1.021 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/1.042, allocations: 83.27 kB / 1.021 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.196e-05/1.042, allocations: 79.22 kB / 1.021 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.35e-05/1.042, allocations: 154.6 kB / 1.021 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.7e-05/1.042, allocations: 82.78 kB / 1.021 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.331e-05/1.042, allocations: 150.6 kB / 1.021 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.788e-05/1.042, allocations: 83.23 kB / 1.021 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/1.042, allocations: 83.22 kB / 1.021 GB, free: 1.164 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001516/1.042, allocations: 251.5 kB / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/1.042, allocations: 107.6 kB / 1.022 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/1.042, allocations: 111.8 kB / 1.022 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-05/1.042, allocations: 184.6 kB / 1.022 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.819e-05/1.043, allocations: 184.2 kB / 1.022 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.47e-05/1.043, allocations: 180.2 kB / 1.022 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/1.043, allocations: 408.5 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.729e-05/1.043, allocations: 104.9 kB / 1.023 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/1.043, allocations: 101 kB / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.683e-05/1.043, allocations: 184.2 kB / 1.023 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.732e-05/1.043, allocations: 184.2 kB / 1.023 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.809e-05/1.043, allocations: 176.3 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.257e-05/1.043, allocations: 183.6 kB / 1.024 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/1.044, allocations: 312.5 kB / 1.024 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.27e-05/1.044, allocations: 182 kB / 1.024 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.549e-05/1.044, allocations: 180.3 kB / 1.024 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/1.044, allocations: 104.9 kB / 1.024 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/1.044, allocations: 180.2 kB / 1.025 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/1.044, allocations: 105 kB / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.678e-05/1.044, allocations: 90.72 kB / 1.025 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.044, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002977/1.045, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005153/1.045, allocations: 0.8125 MB / 1.026 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.731e-05/1.045, allocations: 3.938 kB / 1.026 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.045, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-06/1.045, allocations: 3.938 kB / 1.026 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/1.045, allocations: 0.5185 MB / 1.026 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/1.046, allocations: 153.9 kB / 1.026 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/1.046, allocations: 0.6755 MB / 1.027 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.082e-05/1.046, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/1.046, allocations: 7.438 kB / 1.027 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/1.046, allocations: 4 kB / 1.027 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/1.065, allocations: 0.7284 MB / 1.028 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003183/1.065, allocations: 170.6 kB / 1.028 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/3.327, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.6511 GB