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.Max.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.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.369/1.369, allocations: 252 MB / 267 MB, free: 10.97 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.0009244/0.0009246, allocations: 177.5 kB / 326.6 MB, free: 2.227 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.73/1.73, allocations: 205.4 MB / 0.5777 GB, free: 20.52 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.0007398/0.0007396, allocations: 95.33 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003859, allocations: 15.12 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2509, allocations: 106.3 MB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001614/0.2526, allocations: 1.175 MB / 0.9015 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004031/0.253, allocations: 172.4 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.253, allocations: 4 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.2531, allocations: 7.922 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2532, allocations: 3.938 kB / 0.9017 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.2534, allocations: 35.95 kB / 0.9017 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.2535, allocations: 79.77 kB / 0.9018 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2536, allocations: 23.92 kB / 0.9018 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.2537, allocations: 31.89 kB / 0.9018 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.957e-05/0.2538, allocations: 35.84 kB / 0.9018 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.2538, allocations: 4 kB / 0.9019 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.2538, allocations: 4 kB / 0.9019 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.2539, allocations: 19.91 kB / 0.9019 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.2539, allocations: 33.7 kB / 0.9019 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.71e-05/0.254, allocations: 55.86 kB / 0.902 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.254, allocations: 0 / 0.902 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.915e-06/0.254, allocations: 4 kB / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.254, allocations: 3.938 kB / 0.902 GB, free: 62.61 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.0005891/0.2546, allocations: 387.4 kB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.2547, allocations: 8.031 kB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.2547, allocations: 42.48 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.2548, allocations: 11.86 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2549, allocations: 175 kB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.2549, allocations: 0 / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.255, allocations: 8 kB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.2553, allocations: 117.6 kB / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2553, allocations: 4 kB / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2553, allocations: 0 / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2553, allocations: 0 / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.2557, allocations: 123.8 kB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.2563, allocations: 344.6 kB / 0.9031 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.2569, allocations: 142.5 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.2571, allocations: 60.81 kB / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.2571, allocations: 3.984 kB / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2571, allocations: 38.52 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2571, allocations: 4 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006868/0.2578, allocations: 213.5 kB / 0.9036 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.2579, allocations: 55.34 kB / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.258, allocations: 121.8 kB / 0.9037 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.258, allocations: 25.7 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.2581, allocations: 100 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.2581, allocations: 19.75 kB / 0.9039 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-06/0.2581, allocations: 0 / 0.9039 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.2582, allocations: 318.8 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.2584, allocations: 59.95 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.2585, allocations: 51.95 kB / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.2587, allocations: 68.41 kB / 0.9044 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2587, allocations: 0 / 0.9044 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003827/0.2591, allocations: 153.5 kB / 0.9045 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.2592, allocations: 11.95 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.2592, allocations: 4 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2592, allocations: 0 / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.2594, allocations: 35.91 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2594, allocations: 3.984 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.2595, allocations: 19.98 kB / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.2595, allocations: 4 kB / 0.9046 GB, free: 59.7 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 (max1.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 8.936e-05/0.2596, allocations: 113.8 kB / 0.9047 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.2596, allocations: 3.906 kB / 0.9047 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004466/0.2601, allocations: 177.9 kB / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2601, allocations: 7.938 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2601, allocations: 3.938 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2601, allocations: 7.922 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.2603, allocations: 201.6 kB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2603, allocations: 0 / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.2605, allocations: 31.97 kB / 0.9051 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2605, allocations: 0 / 0.9051 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2605, allocations: 0 / 0.9051 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2605, allocations: 11.95 kB / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2605, allocations: 0 / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.2609, allocations: 251.4 kB / 0.9054 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.2609, allocations: 81.02 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.261, allocations: 4 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.2611, allocations: 19.97 kB / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.2612, allocations: 27.92 kB / 0.9055 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.2612, allocations: 7.938 kB / 0.9055 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.2612, allocations: 95.27 kB / 0.9056 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2613, allocations: 0 / 0.9056 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002024/0.2615, allocations: 15.94 kB / 0.9056 GB, free: 58.56 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 (max1.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.0006138/0.2621, allocations: 0.7865 MB / 0.9064 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003797/0.2625, allocations: 135.8 kB / 0.9065 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2625, allocations: 0 / 0.9065 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.2627, allocations: 63.95 kB / 0.9066 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.263, allocations: 15.94 kB / 0.9066 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.2642, allocations: 0.6581 MB / 0.9072 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.2643, allocations: 0.6887 MB / 0.9079 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.424e-05/0.2644, allocations: 15.94 kB / 0.9079 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.2645, allocations: 31.41 kB / 0.9079 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2645, allocations: 0 / 0.9079 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.2782, allocations: 2.25 MB / 0.9101 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.2784, allocations: 205 kB / 0.9103 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.024, allocations: 3.375 kB / 0.9103 GB, free: 53.71 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)