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.49/1.49, allocations: 252 MB / 267.3 MB, free: 10.84 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.001365/0.001365, allocations: 186.5 kB / 327 MB, free: 2.098 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.181/2.181, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0009854/0.0009855, allocations: 92.73 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 16.7 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2486, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001557/0.2502, allocations: 1.194 MB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004533/0.2506, allocations: 184.3 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.2507, allocations: 4 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.2508, allocations: 7.922 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.918e-05/0.2509, allocations: 3.938 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.2511, allocations: 39.95 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.2512, allocations: 79.83 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2513, allocations: 27.92 kB / 0.9024 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.83e-05/0.2514, allocations: 31.84 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.2515, allocations: 39.83 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.2516, allocations: 4 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.2516, allocations: 4 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.2516, allocations: 19.91 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.2517, allocations: 53.5 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.2518, allocations: 79.7 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2518, allocations: 8 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2518, allocations: 0 / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2518, allocations: 0 / 0.9027 GB, free: 61.59 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.0005951/0.2524, allocations: 383.5 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.2525, allocations: 12.03 kB / 0.903 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.2525, allocations: 38.75 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.2526, allocations: 8.844 kB / 0.9031 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2527, allocations: 180.2 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2527, allocations: 8.375 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.2527, allocations: 8.312 kB / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.253, allocations: 120.2 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2531, allocations: 7.938 kB / 0.9034 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2531, allocations: 0 / 0.9034 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.2531, allocations: 0 / 0.9034 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.2535, allocations: 127.8 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.2539, allocations: 340.6 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.2546, allocations: 130.5 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.2547, allocations: 72.8 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.2548, allocations: 4 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.2548, allocations: 30.56 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2548, allocations: 0 / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006281/0.2554, allocations: 213.5 kB / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.2555, allocations: 51.41 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.2556, allocations: 129.7 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.2556, allocations: 25.7 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.2556, allocations: 100.1 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.2557, allocations: 19.66 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.2557, allocations: 8 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.581e-05/0.2557, allocations: 314.8 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.2559, allocations: 63.94 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.2561, allocations: 55.95 kB / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.2564, allocations: 117.2 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2564, allocations: 0 / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003838/0.2568, allocations: 165.5 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2569, allocations: 4 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2569, allocations: 4 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2569, allocations: 0 / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.2571, allocations: 35.91 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2571, allocations: 0 / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.2572, allocations: 19.98 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.2572, allocations: 7.984 kB / 0.9053 GB, free: 58.61 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.432e-05/0.2573, allocations: 117.8 kB / 0.9055 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.2573, allocations: 11.89 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.2578, allocations: 170 kB / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2578, allocations: 0 / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2578, allocations: 3.938 kB / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2578, allocations: 3.984 kB / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.258, allocations: 201.5 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.258, allocations: 0 / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.2582, allocations: 31.97 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2582, allocations: 0 / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2582, allocations: 11.92 kB / 0.9059 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.2582, allocations: 4 kB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2582, allocations: 0 / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.2586, allocations: 259.2 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.2587, allocations: 81.05 kB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2587, allocations: 0 / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.2588, allocations: 23.98 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.2589, allocations: 23.91 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.2589, allocations: 8 kB / 0.9062 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.259, allocations: 99.64 kB / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.259, allocations: 0 / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002121/0.2592, allocations: 19.84 kB / 0.9064 GB, free: 57.46 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006162/0.2598, allocations: 0.7905 MB / 0.9071 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.2602, allocations: 131.8 kB / 0.9073 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2602, allocations: 0 / 0.9073 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.2604, allocations: 71.94 kB / 0.9073 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.2607, allocations: 8 kB / 0.9073 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.2625, allocations: 1.61 MB / 0.9089 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.2626, allocations: 0.6887 MB / 0.9096 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.596e-05/0.2627, allocations: 23.67 kB / 0.9096 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.2628, allocations: 27.42 kB / 0.9096 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/0.2628, allocations: 0 / 0.9096 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01095/0.2738, allocations: 2.269 MB / 0.9118 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.2739, allocations: 209.5 kB / 0.912 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.996, allocations: 4 kB / 0.912 GB, free: 51.59 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)