Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.675/1.675, allocations: 252 MB / 267 MB, free: 10.96 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.001019/0.001019, allocations: 189.3 kB / 326.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.4 MB / 0.5777 GB, free: 20.22 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.000781/0.000781, allocations: 86.75 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003755, allocations: 12.25 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2593, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00179/0.2612, allocations: 1.183 MB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004801/0.2617, allocations: 184.3 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.426e-05/0.2618, allocations: 0 / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.2618, allocations: 0 / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.2619, allocations: 11.92 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.2622, allocations: 31.97 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.2623, allocations: 79.75 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.2624, allocations: 19.92 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.2626, allocations: 23.92 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2627, allocations: 51.81 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.2627, allocations: 0 / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.2627, allocations: 4 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.2628, allocations: 15.92 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.2628, allocations: 33.7 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.2629, allocations: 63.84 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.2629, allocations: 0 / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.827e-06/0.2629, allocations: 0 / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.263, allocations: 3.938 kB / 0.902 GB, free: 62.05 MB / 0.6042 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.0007224/0.2637, allocations: 383.4 kB / 0.9023 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.453e-05/0.2638, allocations: 12.03 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.2638, allocations: 34.56 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.2639, allocations: 11.86 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.2641, allocations: 171 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.2641, allocations: 11.94 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.2641, allocations: 11.98 kB / 0.9026 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.2645, allocations: 109.6 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2645, allocations: 0 / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.2646, allocations: 3.938 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.2646, allocations: 4 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.265, allocations: 122.4 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.2656, allocations: 352.6 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/0.2662, allocations: 134.5 kB / 0.9033 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.2664, allocations: 68.8 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.2665, allocations: 4 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.2665, allocations: 38.52 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.2665, allocations: 0 / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006733/0.2672, allocations: 217.4 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.2672, allocations: 55.41 kB / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/0.2673, allocations: 125.8 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2673, allocations: 25.7 kB / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.2674, allocations: 100 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.2674, allocations: 15.75 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.2674, allocations: 0 / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.2675, allocations: 318.8 kB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.2677, allocations: 59.94 kB / 0.9043 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.2679, allocations: 55.95 kB / 0.9043 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.268, allocations: 51.97 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.268, allocations: 0 / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004095/0.2685, allocations: 161.5 kB / 0.9045 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2685, allocations: 7.953 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2685, allocations: 0 / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2685, allocations: 3.938 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.2687, allocations: 35.97 kB / 0.9046 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.2687, allocations: 0 / 0.9046 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.2689, allocations: 15.98 kB / 0.9046 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.2689, allocations: 4.531 kB / 0.9046 GB, free: 59.16 MB / 0.6042 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.y,reaToInt.y,reaToInt1.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 9.337e-05/0.269, allocations: 117.8 kB / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.269, allocations: 11.91 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/0.2695, allocations: 177.8 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2695, allocations: 3.984 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2695, allocations: 3.938 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2695, allocations: 4 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.2697, allocations: 189.6 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2697, allocations: 0 / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.2699, allocations: 31.97 kB / 0.9051 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2699, allocations: 7.938 kB / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.2699, allocations: 3.984 kB / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2699, allocations: 8.031 kB / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2699, allocations: 3.984 kB / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.2704, allocations: 259.3 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.2704, allocations: 88.95 kB / 0.9054 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.2704, allocations: 0 / 0.9054 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.2706, allocations: 23.92 kB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.2707, allocations: 23.92 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.2707, allocations: 7.984 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.2708, allocations: 91.27 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2708, allocations: 0 / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002329/0.271, allocations: 16 kB / 0.9056 GB, free: 58 MB / 0.6042 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.y,reaToInt.y,reaToInt1.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.0006852/0.2717, allocations: 0.7866 MB / 0.9064 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003977/0.2722, allocations: 131.8 kB / 0.9065 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2722, allocations: 0 / 0.9065 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.2724, allocations: 75.94 kB / 0.9066 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.2727, allocations: 11.95 kB / 0.9066 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.274, allocations: 0.654 MB / 0.9072 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2742, allocations: 0.6887 MB / 0.9079 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.673e-05/0.2743, allocations: 15.94 kB / 0.9079 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.2743, allocations: 23.42 kB / 0.9079 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2744, allocations: 4 kB / 0.9079 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.2871, allocations: 2.259 MB / 0.9101 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.2873, allocations: 194.9 kB / 0.9103 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.932, allocations: 0 / 0.9103 GB, free: 53.16 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)