Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001387/0.001387, allocations: 110.1 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.001824/0.001824, allocations: 220.5 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.861/2.861, allocations: 476.7 MB / 0.7715 GB, free: 4.277 MB / 0.6231 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.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.002037/0.002037, allocations: 59.77 kB / 1.118 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3911, allocations: 169.9 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002692/0.3938, allocations: 0.8902 MB / 1.285 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.396, allocations: 1.328 MB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.3961, allocations: 4 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.3963, allocations: 15.8 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.3964, allocations: 35.72 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009551/0.3973, allocations: 267.8 kB / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.3978, allocations: 331.4 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.398, allocations: 37.67 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.3983, allocations: 135.7 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.3986, allocations: 107.6 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.877e-05/0.3986, allocations: 32 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.3988, allocations: 55.92 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.094e-05/0.3988, allocations: 43.84 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.399, allocations: 119.5 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.3995, allocations: 355 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3995, allocations: 0 / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3995, allocations: 4 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.3995, allocations: 0 / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008425/0.4003, allocations: 492.6 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4004, allocations: 12.03 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.482e-05/0.4004, allocations: 192 / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.4004, allocations: 38.75 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.4008, allocations: 64.8 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000637/0.4014, allocations: 242.2 kB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.4015, allocations: 16.38 kB / 1.289 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.4015, allocations: 24.36 kB / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.4018, allocations: 153.7 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4018, allocations: 3.984 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4018, allocations: 8 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.4018, allocations: 4 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.402, allocations: 67.89 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000937/0.4029, allocations: 0.7148 MB / 1.29 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.403, allocations: 57.2 kB / 1.29 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.4031, allocations: 29.7 kB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.4031, allocations: 0 / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.4033, allocations: 97.08 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.4033, allocations: 0 / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003215/0.4036, allocations: 137.5 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.4037, allocations: 77.11 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.4039, allocations: 207.8 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.404, allocations: 33.7 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.4041, allocations: 144.3 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.4041, allocations: 19.84 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.4043, allocations: 65.67 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4044, allocations: 326.8 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.4046, allocations: 67.91 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.4048, allocations: 132.5 kB / 1.291 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.405, allocations: 194.2 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.405, allocations: 4 kB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005362/0.4056, allocations: 304.7 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/0.4056, allocations: 63.39 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4056, allocations: 0 / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4056, allocations: 7.938 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.939e-05/0.4057, allocations: 11.94 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.4057, allocations: 8 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.4061, allocations: 56.12 kB / 1.292 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.4061, allocations: 11.98 kB / 1.292 GB, free: 3.789 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001703/0.4063, allocations: 155.4 kB / 1.292 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.4063, allocations: 15.91 kB / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.4063, allocations: 21.02 kB / 1.292 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4063, allocations: 4 kB / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4064, allocations: 0 / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4064, allocations: 0 / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.4066, allocations: 208.6 kB / 1.292 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4066, allocations: 0 / 1.292 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.4066, allocations: 7.938 kB / 1.292 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4066, allocations: 4 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4066, allocations: 0 / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.4066, allocations: 3.984 kB / 1.292 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4066, allocations: 0 / 1.292 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.4068, allocations: 146.2 kB / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.4069, allocations: 11.91 kB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.4069, allocations: 4 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.271e-05/0.4069, allocations: 4 kB / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.407, allocations: 11.97 kB / 1.292 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.407, allocations: 4 kB / 1.292 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001474/0.4071, allocations: 149.5 kB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4071, allocations: 0 / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002948/0.4074, allocations: 47.89 kB / 1.292 GB, free: 2.934 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006043/0.408, allocations: 0.6717 MB / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004173/0.4084, allocations: 230.7 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4084, allocations: 4 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.676e-05/0.4085, allocations: 23.92 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.4088, allocations: 36.12 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.4119, allocations: 2.202 MB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.4123, allocations: 0.7242 MB / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.065e-05/0.4124, allocations: 25.41 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.844e-05/0.4125, allocations: 55.42 kB / 1.296 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of SimCode: time 1.182e-06/0.4125, allocations: 0 / 1.296 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.4412, allocations: 4.423 MB / 1.3 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.9, allocations: 12.86 kB / 1.3 GB, free: 10.5 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.829242770036217] Failed to read output from testmodel.py, exit status != 0: 12.689057854004204 12.082417833 11.679500118 Calling exit ...