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.Add.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.Add,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.428/1.428, allocations: 252 MB / 267 MB, free: 10.95 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.0012/0.0012, allocations: 176.7 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.846/1.846, 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.0009235/0.0009233, allocations: 89.97 kB / 0.6823 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 9.875 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2294, allocations: 106.3 MB / 0.9003 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001391/0.2308, allocations: 1.187 MB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003406/0.2312, allocations: 180.3 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.2312, allocations: 0 / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.2313, allocations: 11.92 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.6e-05/0.2314, allocations: 7.938 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.2315, allocations: 27.97 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.945e-05/0.2316, allocations: 75.81 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.2317, allocations: 20.22 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.2318, allocations: 35.84 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.2319, allocations: 47.81 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.2319, allocations: 4 kB / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.2319, allocations: 4 kB / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.2319, allocations: 15.92 kB / 0.9019 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.232, allocations: 29.7 kB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.337e-05/0.2321, allocations: 63.84 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2321, allocations: 0 / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2321, allocations: 0 / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2321, allocations: 0 / 0.902 GB, free: 62.02 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.0005547/0.2326, allocations: 392.2 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2327, allocations: 12.03 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.2327, allocations: 38.48 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.2328, allocations: 11.86 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2329, allocations: 178.9 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.2329, allocations: 0 / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.2329, allocations: 12 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.2332, allocations: 116.2 kB / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2332, allocations: 7.922 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.2333, allocations: 4 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2333, allocations: 0 / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.2336, allocations: 123.8 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.2341, allocations: 348.7 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.2346, allocations: 130.5 kB / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.2348, allocations: 68.81 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.2348, allocations: 0 / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.2349, allocations: 42.45 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 7.61e-07/0.2349, allocations: 0 / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000594/0.2355, allocations: 213.5 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.2355, allocations: 59.34 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.233e-05/0.2356, allocations: 129.7 kB / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2356, allocations: 29.7 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.2356, allocations: 88.14 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.2357, allocations: 23.64 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.2357, allocations: 4 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.157e-05/0.2357, allocations: 318.8 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.2359, allocations: 55.95 kB / 0.9043 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.2361, allocations: 55.95 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.2362, allocations: 55.95 kB / 0.9044 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2363, allocations: 0 / 0.9044 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003715/0.2366, allocations: 161.5 kB / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2367, allocations: 7.953 kB / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2367, allocations: 0 / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.2367, allocations: 0 / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.2368, allocations: 39.91 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2369, allocations: 0 / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.237, allocations: 23.98 kB / 0.9046 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.237, allocations: 0 / 0.9046 GB, free: 59.1 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 (add1.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 6.463e-05/0.2371, allocations: 121.8 kB / 0.9047 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.2371, allocations: 7.906 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.2371, allocations: 16.33 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2371, allocations: 0 / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2371, allocations: 3.984 kB / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2371, allocations: 0 / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.2373, allocations: 201.6 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2373, allocations: 0 / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.2375, allocations: 35.97 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2375, allocations: 0 / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2375, allocations: 3.938 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2375, allocations: 7.953 kB / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2375, allocations: 3.938 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.2379, allocations: 255.3 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.2379, allocations: 88.94 kB / 0.9053 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2379, allocations: 4 kB / 0.9053 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.2381, allocations: 19.98 kB / 0.9053 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.2382, allocations: 27.92 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.2382, allocations: 4 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.2382, allocations: 92.89 kB / 0.9055 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2382, allocations: 4 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001947/0.2384, allocations: 16 kB / 0.9055 GB, free: 58.11 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 (add1.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.0005731/0.239, allocations: 0.7949 MB / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003711/0.2394, allocations: 128 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2394, allocations: 0 / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.2396, allocations: 75.89 kB / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.2399, allocations: 15.94 kB / 0.9065 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.241, allocations: 0.6687 MB / 0.9071 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.2411, allocations: 0.6887 MB / 0.9078 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.169e-05/0.2412, allocations: 15.94 kB / 0.9078 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.2413, allocations: 27.41 kB / 0.9078 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2413, allocations: 3.938 kB / 0.9078 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.2531, allocations: 2.293 MB / 0.9101 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001162/0.2533, allocations: 197.7 kB / 0.9103 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/1.801, allocations: 0 / 0.9103 GB, free: 53.21 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)