Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.001366/0.001366, allocations: 116.7 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.001334/0.001334, 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.578/1.578, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.084/3.084, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.IntegerExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",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.002033/0.002033, allocations: 67.91 kB / 1.165 GB, free: 500 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234/1.236, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002494/1.238, allocations: 1.166 MB / 1.341 GB, free: 15.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002197/1.24, allocations: 1.528 MB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/1.24, allocations: 7.781 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/1.241, allocations: 37.33 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/1.241, allocations: 64.16 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/1.242, allocations: 491.3 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007895/1.243, allocations: 0.5831 MB / 1.344 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/1.243, allocations: 118.9 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/1.244, allocations: 237.9 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/1.244, allocations: 215 kB / 1.344 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/1.244, allocations: 59.12 kB / 1.345 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/1.244, allocations: 74.75 kB / 1.345 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/1.244, allocations: 78.84 kB / 1.345 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002467/1.245, allocations: 221.1 kB / 1.345 GB, free: 13.33 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007855/1.245, allocations: 0.6284 MB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.245, allocations: 4.719 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.204e-06/1.245, allocations: 0 / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.147e-06/1.245, allocations: 0 / 1.345 GB, free: 13.09 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001005/1.246, allocations: 0.7513 MB / 1.346 GB, free: 12.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.246, allocations: 11.31 kB / 1.346 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.599e-05/1.246, allocations: 9.094 kB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.708e-05/1.246, allocations: 57.16 kB / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/1.247, allocations: 47.62 kB / 1.346 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/1.248, allocations: 404.5 kB / 1.347 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/1.248, allocations: 24.39 kB / 1.347 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/1.248, allocations: 37.39 kB / 1.347 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/1.248, allocations: 254.8 kB / 1.347 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/1.248, allocations: 2.016 kB / 1.347 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/1.248, allocations: 11.36 kB / 1.347 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/1.248, allocations: 13.39 kB / 1.347 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/1.249, allocations: 153 kB / 1.347 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/1.25, allocations: 0.8499 MB / 1.348 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/1.251, allocations: 214.7 kB / 1.348 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/1.251, allocations: 192.9 kB / 1.348 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/1.251, allocations: 2.969 kB / 1.348 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003785/1.251, allocations: 247.3 kB / 1.349 GB, free: 11.13 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/1.251, allocations: 5.156 kB / 1.349 GB, free: 11.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.0007705/1.252, allocations: 434.9 kB / 1.349 GB, free: 10.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/1.252, allocations: 107.2 kB / 1.349 GB, free: 10.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/1.252, allocations: 329.2 kB / 1.349 GB, free: 10.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/1.252, allocations: 38.36 kB / 1.35 GB, free: 10.64 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/1.253, allocations: 187.6 kB / 1.35 GB, free: 10.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/1.253, allocations: 66.28 kB / 1.35 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/1.253, allocations: 145.2 kB / 1.35 GB, free: 10.37 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/1.253, allocations: 345.1 kB / 1.35 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/1.253, allocations: 209.8 kB / 1.35 GB, free: 9.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/1.254, allocations: 327.1 kB / 1.351 GB, free: 9.777 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/1.255, allocations: 0.5255 MB / 1.351 GB, free: 9.406 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.255, allocations: 1.125 kB / 1.351 GB, free: 9.406 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001309/1.256, allocations: 0.7462 MB / 1.352 GB, free: 9.047 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/1.256, allocations: 127 kB / 1.352 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.256, allocations: 6.625 kB / 1.352 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/1.256, allocations: 9.281 kB / 1.352 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/1.256, allocations: 62.67 kB / 1.352 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/1.256, allocations: 5.5 kB / 1.352 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007896/1.257, allocations: 132.2 kB / 1.352 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/1.257, allocations: 73.08 kB / 1.352 GB, free: 8.855 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002691/1.257, allocations: 191.4 kB / 1.353 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/1.257, allocations: 32.06 kB / 1.353 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006452/1.258, allocations: 363.5 kB / 1.353 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/1.258, allocations: 8.281 kB / 1.353 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/1.258, allocations: 0.6562 kB / 1.353 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.258, allocations: 1.312 kB / 1.353 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/1.259, allocations: 0.7542 MB / 1.354 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.259, allocations: 0 / 1.354 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/1.259, allocations: 37.34 kB / 1.354 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/1.259, allocations: 1.188 kB / 1.354 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/1.259, allocations: 12 kB / 1.354 GB, free: 8.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.259, allocations: 2.406 kB / 1.354 GB, free: 8.074 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.259, allocations: 0 / 1.354 GB, free: 8.074 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005366/1.26, allocations: 437.7 kB / 1.354 GB, free: 7.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/1.26, allocations: 115 kB / 1.354 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/1.26, allocations: 8.922 kB / 1.354 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/1.26, allocations: 9.391 kB / 1.354 GB, free: 7.711 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/1.26, allocations: 21.45 kB / 1.354 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/1.26, allocations: 17.31 kB / 1.354 GB, free: 7.699 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002158/1.26, allocations: 213.6 kB / 1.355 GB, free: 7.586 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.26, allocations: 1.156 kB / 1.355 GB, free: 7.586 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000438/1.261, allocations: 98.62 kB / 1.355 GB, free: 7.566 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007232/1.262, allocations: 0.9922 MB / 1.356 GB, free: 6.789 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000848/1.262, allocations: 0.6057 MB / 1.356 GB, free: 6.426 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.262, allocations: 0.6562 kB / 1.356 GB, free: 6.426 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/1.263, allocations: 132.7 kB / 1.356 GB, free: 6.391 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/1.263, allocations: 84.7 kB / 1.356 GB, free: 6.355 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/1.268, allocations: 3.837 MB / 1.36 GB, free: 3.965 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/1.269, allocations: 0.7802 MB / 1.361 GB, free: 3.262 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000229/1.269, allocations: 71.05 kB / 1.361 GB, free: 3.258 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/1.269, allocations: 116 kB / 1.361 GB, free: 3.18 MB / 1.061 GB Notification: Performance of SimCode: time 1.352e-06/1.269, allocations: 1.094 kB / 1.361 GB, free: 3.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/1.305, allocations: 8.507 MB / 1.369 GB, free: 2.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.977/10.28, allocations: 8.625 kB / 1.369 GB, free: 2.316 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.12815047800541] Failed to read output from testmodel.py, exit status != 0: 10.418699188972823 10.441180311 9.192309783 Calling exit ...