Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Validation.Min,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.183/2.183, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 174.7 kB / 325.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.421/2.421, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001096/0.001095, allocations: 93.56 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.000489, allocations: 11.62 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2067, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.4301, allocations: 131.6 MB / 1.027 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.4305, allocations: 71.95 kB / 1.027 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006855/0.4373, allocations: 1.454 MB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4374, allocations: 0 / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.4374, allocations: 0 / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008142/0.4382, allocations: 399.1 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.4383, allocations: 8.031 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.72e-05/0.4384, allocations: 38.56 kB / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.4384, allocations: 7.906 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.4386, allocations: 190.7 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.4386, allocations: 4 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.4387, allocations: 12 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.4392, allocations: 109.6 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4392, allocations: 3.984 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.4392, allocations: 0 / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.4393, allocations: 0 / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007/0.44, allocations: 121.4 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007369/0.4407, allocations: 344.6 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.4418, allocations: 130.6 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.4419, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.4419, allocations: 30.56 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.4419, allocations: 7.938 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001246/0.4432, allocations: 225.5 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.4433, allocations: 55.41 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.4434, allocations: 109 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.4435, allocations: 25.7 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.4435, allocations: 104 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.4436, allocations: 15.75 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.4436, allocations: 8 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.4438, allocations: 314.8 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.4444, allocations: 59.95 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.445, allocations: 55.95 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.4455, allocations: 51.97 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.4455, allocations: 4 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001046/0.4466, allocations: 165.4 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.4466, allocations: 4 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4467, allocations: 0 / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.4467, allocations: 11.89 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.447, allocations: 31.97 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4471, allocations: 0 / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.4473, allocations: 23.97 kB / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.4473, allocations: 4 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.u1,min1.u2,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001344/0.4475, allocations: 118.7 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.4475, allocations: 3.906 kB / 1.032 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008698/0.4484, allocations: 177.9 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.4484, allocations: 0 / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.996e-06/0.4485, allocations: 3.953 kB / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4485, allocations: 0 / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.4488, allocations: 197.6 kB / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4488, allocations: 3.984 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.4491, allocations: 27.97 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4491, allocations: 0 / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.4491, allocations: 0 / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.4492, allocations: 4 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4492, allocations: 3.938 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008563/0.45, allocations: 267.2 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.4501, allocations: 88.95 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.4502, allocations: 0 / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.4504, allocations: 19.97 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4505, allocations: 19.98 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4506, allocations: 7.984 kB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.896e-05/0.4507, allocations: 103.6 kB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4507, allocations: 0 / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003263/0.451, allocations: 20.12 kB / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.u1,min1.u2,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001275/0.4523, allocations: 0.7911 MB / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000775/0.4531, allocations: 131.9 kB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4531, allocations: 0 / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.4535, allocations: 72.12 kB / 1.033 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.4538, allocations: 13.86 kB / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.4561, allocations: 0.6648 MB / 1.034 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.4564, allocations: 0.7006 MB / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.4566, allocations: 12.19 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.4567, allocations: 27.36 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of SimCode: time 1.343e-06/0.4567, allocations: 0 / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.4786, allocations: 2.22 MB / 1.037 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.4789, allocations: 182.4 kB / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/2.815, allocations: 0 / 1.037 GB, free: 3.285 MB / 0.6823 GB