Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001431/0.001431, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001511/0.001511, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.886/2.886, allocations: 476.7 MB / 0.7678 GB, free: 9.359 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_11_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.002087/0.002087, allocations: 68.09 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9632/0.9653, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002238/0.9675, allocations: 0.7812 MB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.9688, allocations: 0.8947 MB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.9689, allocations: 1.062 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.9689, allocations: 9.281 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.387e-05/0.969, allocations: 15.5 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.9692, allocations: 40.73 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.9693, allocations: 83.19 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.9695, allocations: 31.14 kB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.9696, allocations: 36.45 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.9697, allocations: 48.7 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.9697, allocations: 8.156 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.9697, allocations: 8.281 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.9698, allocations: 18.97 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.9698, allocations: 35.73 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.97, allocations: 92 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.97, allocations: 5.125 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.97, allocations: 0 / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.97, allocations: 0 / 1.281 GB, free: 10.35 MB / 0.9981 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.0007671/0.9708, allocations: 395.1 kB / 1.281 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.9708, allocations: 10.22 kB / 1.281 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.566e-05/0.9708, allocations: 1.906 kB / 1.281 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.9709, allocations: 34.25 kB / 1.281 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.9709, allocations: 16.17 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.9711, allocations: 178.9 kB / 1.282 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.9711, allocations: 7.375 kB / 1.282 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.9711, allocations: 11.72 kB / 1.282 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.9715, allocations: 108.2 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.9715, allocations: 0 / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.9715, allocations: 5.672 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.9715, allocations: 1.969 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/0.9719, allocations: 100.8 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.9725, allocations: 340.6 kB / 1.282 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.9732, allocations: 115.6 kB / 1.282 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.9735, allocations: 57.2 kB / 1.282 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.9735, allocations: 5.109 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.9735, allocations: 36.17 kB / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.9735, allocations: 0 / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.00084/0.9744, allocations: 186.8 kB / 1.283 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.9744, allocations: 56.44 kB / 1.283 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.9746, allocations: 119.9 kB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.9746, allocations: 25.7 kB / 1.283 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.9747, allocations: 94.22 kB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.9747, allocations: 23.5 kB / 1.283 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.9748, allocations: 24.23 kB / 1.283 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.9749, allocations: 318.1 kB / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.9751, allocations: 44.52 kB / 1.283 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.9753, allocations: 44.05 kB / 1.283 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.9757, allocations: 110.4 kB / 1.283 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9757, allocations: 0 / 1.283 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004511/0.9761, allocations: 136.8 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.9761, allocations: 6.078 kB / 1.284 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.9761, allocations: 5.281 kB / 1.284 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.9762, allocations: 0 / 1.284 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.9763, allocations: 28.89 kB / 1.284 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.9763, allocations: 3.938 kB / 1.284 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.9765, allocations: 16.12 kB / 1.284 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.9765, allocations: 4.125 kB / 1.284 GB, free: 8.352 MB / 0.9981 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 9.875e-05/0.9766, allocations: 116.8 kB / 1.284 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.9766, allocations: 10.8 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.9767, allocations: 14.47 kB / 1.284 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.9767, allocations: 2.062 kB / 1.284 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.9767, allocations: 3.938 kB / 1.284 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.9767, allocations: 0.6094 kB / 1.284 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.9769, allocations: 203.1 kB / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9769, allocations: 0 / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.9771, allocations: 24.03 kB / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.9771, allocations: 0 / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.9771, allocations: 2.719 kB / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.9771, allocations: 4 kB / 1.284 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.9771, allocations: 5.766 kB / 1.284 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.9776, allocations: 238.5 kB / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.9776, allocations: 84.53 kB / 1.284 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.9777, allocations: 1.125 kB / 1.284 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.9778, allocations: 16.38 kB / 1.284 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.9779, allocations: 24.25 kB / 1.284 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.9779, allocations: 3.172 kB / 1.284 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.917e-05/0.978, allocations: 100.9 kB / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.978, allocations: 0.9062 kB / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002433/0.9782, allocations: 23.83 kB / 1.284 GB, free: 7.613 MB / 0.9981 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.0008581/0.9791, allocations: 0.7625 MB / 1.285 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.9796, allocations: 109.4 kB / 1.285 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9796, allocations: 1.375 kB / 1.285 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.9798, allocations: 59.06 kB / 1.285 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.9801, allocations: 13.58 kB / 1.285 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.9825, allocations: 1.544 MB / 1.287 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.9828, allocations: 0.6897 MB / 1.287 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.954e-05/0.9829, allocations: 12.98 kB / 1.288 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.586e-05/0.9829, allocations: 29.81 kB / 1.288 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.983, allocations: 1.031 kB / 1.288 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/1.002, allocations: 2.743 MB / 1.29 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/9.502, allocations: 7.562 kB / 1.29 GB, free: 4.406 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.831591439957265] Failed to read output from testmodel.py, exit status != 0: 9.631936210033018 9.655035151 8.680263898 Calling exit ...