Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00131/0.00131, allocations: 116.8 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.001717/0.001717, allocations: 209.6 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.614/1.614, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.089/3.089, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_12_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.002323/0.002323, allocations: 67.91 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.114, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002308/1.116, allocations: 0.8708 MB / 1.322 GB, free: 24.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001655/1.118, allocations: 1.33 MB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/1.118, allocations: 2.562 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/1.118, allocations: 17.52 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.424e-05/1.118, allocations: 39.72 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/1.119, allocations: 258.2 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003379/1.119, allocations: 329.2 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/1.119, allocations: 39.27 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/1.119, allocations: 136.5 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/1.119, allocations: 116.4 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/1.119, allocations: 29.25 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/1.12, allocations: 48.23 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/1.12, allocations: 45.66 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/1.12, allocations: 121 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/1.12, allocations: 356.9 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.12, allocations: 0 / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.545e-06/1.12, allocations: 0 / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.12, allocations: 0 / 1.325 GB, free: 22.55 MB / 1.061 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.0006636/1.121, allocations: 0.5581 MB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.121, allocations: 15.86 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.891e-05/1.121, allocations: 2.938 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/1.121, allocations: 48.77 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/1.121, allocations: 59.2 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/1.122, allocations: 304.5 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/1.122, allocations: 12.84 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/1.122, allocations: 18.22 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/1.122, allocations: 150.6 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.122, allocations: 4 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/1.122, allocations: 6.781 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/1.122, allocations: 2.875 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/1.122, allocations: 66.61 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006841/1.123, allocations: 0.7475 MB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.61e-05/1.123, allocations: 59.69 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/1.123, allocations: 22.86 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/1.123, allocations: 0 / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/1.123, allocations: 112.1 kB / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/1.123, allocations: 0 / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0003046/1.124, allocations: 126.5 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/1.124, allocations: 83.67 kB / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/1.124, allocations: 211 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/1.124, allocations: 34.83 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.292e-05/1.124, allocations: 148.9 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/1.124, allocations: 10.5 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/1.124, allocations: 69.55 kB / 1.328 GB, free: 20.26 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.061e-05/1.124, allocations: 329.9 kB / 1.328 GB, free: 19.94 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/1.124, allocations: 66.62 kB / 1.328 GB, free: 19.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/1.125, allocations: 129.9 kB / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/1.125, allocations: 192.7 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.125, allocations: 0.8438 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005485/1.125, allocations: 304.8 kB / 1.329 GB, free: 19.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/1.125, allocations: 66.41 kB / 1.329 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.125, allocations: 1.594 kB / 1.329 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.125, allocations: 10.53 kB / 1.329 GB, free: 19.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.388e-05/1.125, allocations: 11.03 kB / 1.329 GB, free: 19.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/1.125, allocations: 2.688 kB / 1.329 GB, free: 19.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/1.126, allocations: 58.95 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/1.126, allocations: 17.44 kB / 1.329 GB, free: 19.38 MB / 1.061 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.000149/1.126, allocations: 148.9 kB / 1.329 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/1.126, allocations: 18.52 kB / 1.329 GB, free: 19.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/1.126, allocations: 25.08 kB / 1.329 GB, free: 19.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.126, allocations: 1.969 kB / 1.329 GB, free: 19.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.126, allocations: 0.5 kB / 1.329 GB, free: 19.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.126, allocations: 0.6562 kB / 1.329 GB, free: 19.22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/1.126, allocations: 233.2 kB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.126, allocations: 0.75 kB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/1.126, allocations: 4.406 kB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.126, allocations: 0.5312 kB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/1.126, allocations: 2.062 kB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.126, allocations: 4.875 kB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.126, allocations: 4.219 kB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/1.127, allocations: 139.6 kB / 1.33 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/1.127, allocations: 92.41 kB / 1.33 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/1.127, allocations: 5.688 kB / 1.33 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.052e-05/1.127, allocations: 0.625 kB / 1.33 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/1.127, allocations: 6.75 kB / 1.33 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/1.127, allocations: 3.031 kB / 1.33 GB, free: 18.78 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001327/1.127, allocations: 154.7 kB / 1.33 GB, free: 18.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.127, allocations: 0 / 1.33 GB, free: 18.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002978/1.127, allocations: 46.98 kB / 1.33 GB, free: 18.67 MB / 1.061 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.0004395/1.128, allocations: 0.6758 MB / 1.331 GB, free: 18.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003816/1.128, allocations: 239.1 kB / 1.331 GB, free: 17.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.128, allocations: 0.5625 kB / 1.331 GB, free: 17.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/1.128, allocations: 23.55 kB / 1.331 GB, free: 17.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/1.128, allocations: 39.62 kB / 1.331 GB, free: 17.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/1.131, allocations: 2.186 MB / 1.333 GB, free: 16.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/1.131, allocations: 0.731 MB / 1.334 GB, free: 15.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.596e-05/1.131, allocations: 20.22 kB / 1.334 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/1.131, allocations: 53.78 kB / 1.334 GB, free: 15.43 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/1.131, allocations: 0 / 1.334 GB, free: 15.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/1.154, allocations: 4.321 MB / 1.338 GB, free: 14.87 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.547/9.701, allocations: 6.625 kB / 1.338 GB, free: 14.87 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.61328859202331] Failed to read output from testmodel.py, exit status != 0: 9.83163147396408 9.852558665 8.72845099 Calling exit ...