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.517/1.517, allocations: 252 MB / 267.3 MB, free: 10.85 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.001163/0.001163, allocations: 169.4 kB / 327 MB, free: 2.113 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.82/1.82, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.000767/0.0007672, allocations: 91.88 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003298, allocations: 15.47 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2098, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001389/0.2112, allocations: 1.206 MB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003269/0.2116, allocations: 176.3 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.2116, allocations: 0 / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.2117, allocations: 7.938 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.254e-05/0.2117, allocations: 11.91 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.2119, allocations: 35.97 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.706e-05/0.212, allocations: 75.83 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2121, allocations: 28.22 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.366e-05/0.2122, allocations: 31.84 kB / 0.9025 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.2123, allocations: 47.75 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.2123, allocations: 4 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.2123, allocations: 4 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.2124, allocations: 19.92 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.2124, allocations: 53.5 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.2125, allocations: 83.7 kB / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2125, allocations: 3.938 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2125, allocations: 0 / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2125, allocations: 0 / 0.9027 GB, free: 61.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.0005389/0.2131, allocations: 395.5 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2131, allocations: 8.031 kB / 0.903 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.2132, allocations: 42.75 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.2132, allocations: 8.844 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.957e-05/0.2133, allocations: 184.2 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2133, allocations: 4.375 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.2133, allocations: 8.312 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.2136, allocations: 122.2 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2137, allocations: 3.938 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2137, allocations: 0 / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2137, allocations: 0 / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.2141, allocations: 119.9 kB / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.2145, allocations: 344.6 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.2151, allocations: 142.5 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.2153, allocations: 64.81 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.2154, allocations: 3.984 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.2154, allocations: 34.55 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.2154, allocations: 4 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006374/0.216, allocations: 217.4 kB / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.2161, allocations: 51.41 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.2161, allocations: 129 kB / 0.9045 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.2162, allocations: 29.7 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.2162, allocations: 100 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.2163, allocations: 15.75 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.2163, allocations: 4 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.2163, allocations: 322.8 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.2165, allocations: 59.95 kB / 0.905 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.2167, allocations: 55.95 kB / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.217, allocations: 124.7 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2171, allocations: 3.938 kB / 0.9052 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003906/0.2175, allocations: 157.5 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2175, allocations: 6.969 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2175, allocations: 0 / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2175, allocations: 4 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.2177, allocations: 35.97 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2177, allocations: 0 / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.2178, allocations: 19.89 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2179, allocations: 3.984 kB / 0.9054 GB, free: 58.62 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.497e-05/0.218, allocations: 125.7 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.218, allocations: 4 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.218, allocations: 12.38 kB / 0.9055 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.218, allocations: 0 / 0.9055 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.218, allocations: 0 / 0.9055 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.218, allocations: 0 / 0.9055 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.2182, allocations: 213.4 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2182, allocations: 0 / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.2184, allocations: 31.97 kB / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2184, allocations: 0 / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2184, allocations: 7.984 kB / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2184, allocations: 0 / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2184, allocations: 0 / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.2188, allocations: 263.9 kB / 0.906 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.2189, allocations: 84.95 kB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2189, allocations: 4 kB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.2191, allocations: 19.98 kB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.2192, allocations: 23.91 kB / 0.9061 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.2192, allocations: 4 kB / 0.9061 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.2192, allocations: 95.27 kB / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2192, allocations: 0 / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002209/0.2194, allocations: 23.84 kB / 0.9062 GB, free: 57.63 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 (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.0006258/0.2201, allocations: 0.7906 MB / 0.907 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004024/0.2205, allocations: 135.8 kB / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2205, allocations: 0 / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.2207, allocations: 71.94 kB / 0.9072 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.221, allocations: 8 kB / 0.9072 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.2228, allocations: 1.636 MB / 0.9088 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.2229, allocations: 0.6887 MB / 0.9095 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.479e-05/0.223, allocations: 15.75 kB / 0.9095 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/0.2231, allocations: 27.42 kB / 0.9095 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of SimCode: time 3.6e-07/0.2231, allocations: 0 / 0.9095 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01187/0.235, allocations: 2.313 MB / 0.9118 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/0.2353, allocations: 217.3 kB / 0.912 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.058, allocations: 0 / 0.912 GB, free: 51.69 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)