Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 110.4 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 220 kB / 23.05 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.245/3.245, allocations: 0.49 GB / 0.7959 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 66.75 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3742, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002371/0.3766, allocations: 0.7812 MB / 1.327 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3779, allocations: 0.9093 MB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.3779, allocations: 0 / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.015e-05/0.378, allocations: 3.938 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.3781, allocations: 11.86 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.3783, allocations: 39.95 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.3785, allocations: 87.81 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3786, allocations: 16.22 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.3787, allocations: 43.89 kB / 1.329 GB, free: 72 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.3788, allocations: 43.83 kB / 1.329 GB, free: 28 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.3788, allocations: 8 kB / 1.329 GB, free: 20 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.929e-05/0.3789, allocations: 8 kB / 1.329 GB, free: 12 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.3789, allocations: 27.91 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.379, allocations: 31.8 kB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.3792, allocations: 87.59 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.3792, allocations: 12 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3792, allocations: 0 / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.3792, allocations: 0 / 1.329 GB, free: 15.86 MB / 1.029 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.0006758/0.3799, allocations: 318 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3799, allocations: 8.031 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.787e-05/0.3799, allocations: 8.125 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.38, allocations: 34.75 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.38, allocations: 12.89 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.3801, allocations: 126.4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3802, allocations: 8.312 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.3802, allocations: 7.938 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.3805, allocations: 105.6 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3805, allocations: 4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3805, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3805, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.3809, allocations: 91.91 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.3815, allocations: 315.7 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.3821, allocations: 114.6 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.3823, allocations: 60.8 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.3824, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3824, allocations: 30.56 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3824, allocations: 4 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007377/0.3831, allocations: 185.4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.3832, allocations: 59.33 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3833, allocations: 121.8 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.3833, allocations: 29.7 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.3834, allocations: 92.08 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.3834, allocations: 27.8 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.3835, allocations: 25.7 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3836, allocations: 314.8 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.3838, allocations: 43.95 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.384, allocations: 47.94 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.3844, allocations: 101.2 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3844, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004358/0.3848, allocations: 141.6 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3848, allocations: 4 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3848, allocations: 8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3848, allocations: 3.938 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.385, allocations: 23.97 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.385, allocations: 3.938 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.3851, allocations: 19.92 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3852, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 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 (reaToInt1.y,reaToInt.y,add1.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 0.0001089/0.3853, allocations: 122.3 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.3853, allocations: 8 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.3853, allocations: 8.375 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3853, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3853, allocations: 7.938 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3853, allocations: 3.938 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.3856, allocations: 172.6 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3856, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.3857, allocations: 23.97 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.3857, allocations: 4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3858, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3858, allocations: 4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3858, allocations: 3.938 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/0.3863, allocations: 235.3 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.3863, allocations: 11.94 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.3863, allocations: 4 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.3865, allocations: 19.97 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.3866, allocations: 23.91 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3866, allocations: 4 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.431e-05/0.3866, allocations: 91.27 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3866, allocations: 0 / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002417/0.3869, allocations: 19.95 kB / 1.332 GB, free: 12.38 MB / 1.029 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.0008692/0.3878, allocations: 0.7671 MB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004555/0.3882, allocations: 107.8 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3882, allocations: 0 / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.3884, allocations: 55.95 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.3888, allocations: 15.94 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.3912, allocations: 1.533 MB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.3915, allocations: 0.6885 MB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.277e-05/0.3916, allocations: 15.98 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/0.3917, allocations: 31.42 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/0.3917, allocations: 0 / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.4155, allocations: 2.883 MB / 1.338 GB, free: 6.301 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.56, allocations: 5.938 kB / 1.338 GB, free: 6.297 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.5209851799882] Failed to read output from testmodel.py, exit status != 0: 11.719443355978001 11.737797697 11.355385951 Calling exit ...