Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001651/0.001651, allocations: 120.9 kB / 17.16 MB, free: 5.914 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.001965/0.001965, allocations: 208 kB / 20.13 MB, free: 2.969 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.741/1.741, 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.921/2.921, allocations: 476.7 MB / 0.7678 GB, free: 9.41 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.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_11_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.002258/0.002258, allocations: 64.09 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.937/0.9393, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002768/0.942, allocations: 1.153 MB / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.9444, allocations: 1.545 MB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.9445, allocations: 6.969 kB / 1.282 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.9446, allocations: 33.55 kB / 1.282 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.9448, allocations: 64.69 kB / 1.282 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.9461, allocations: 492.6 kB / 1.282 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008968/0.947, allocations: 0.5921 MB / 1.283 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/0.9473, allocations: 122.3 kB / 1.283 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.9476, allocations: 229 kB / 1.283 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.948, allocations: 215.8 kB / 1.283 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.9481, allocations: 59.47 kB / 1.283 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.9483, allocations: 74.33 kB / 1.283 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.9484, allocations: 75.19 kB / 1.283 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.9487, allocations: 227.6 kB / 1.284 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009779/0.9497, allocations: 0.6226 MB / 1.284 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.9497, allocations: 0 / 1.284 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.484e-06/0.9497, allocations: 0 / 1.284 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.9497, allocations: 4 kB / 1.284 GB, free: 8.551 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00131/0.951, allocations: 0.7563 MB / 1.285 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.9511, allocations: 9.469 kB / 1.285 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.375e-05/0.9511, allocations: 4.781 kB / 1.285 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.717e-05/0.9512, allocations: 56.7 kB / 1.285 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.9513, allocations: 44.53 kB / 1.285 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.9524, allocations: 411.6 kB / 1.286 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.9525, allocations: 25.95 kB / 1.286 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.9526, allocations: 36.64 kB / 1.286 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.953, allocations: 260.7 kB / 1.286 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.953, allocations: 0 / 1.286 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.953, allocations: 6.875 kB / 1.286 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.953, allocations: 5.906 kB / 1.286 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.9533, allocations: 158.3 kB / 1.286 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.9547, allocations: 0.8402 MB / 1.287 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.9551, allocations: 219 kB / 1.287 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.9554, allocations: 200.3 kB / 1.287 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.9554, allocations: 7.266 kB / 1.287 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004646/0.9559, allocations: 246.3 kB / 1.287 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/0.9559, allocations: 1.094 kB / 1.287 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.0009125/0.9568, allocations: 438.3 kB / 1.288 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.9569, allocations: 112.6 kB / 1.288 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.9573, allocations: 328.1 kB / 1.288 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.9574, allocations: 39.84 kB / 1.288 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.9575, allocations: 178.5 kB / 1.289 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.311e-05/0.9576, allocations: 66.25 kB / 1.289 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.9579, allocations: 145.5 kB / 1.289 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.9581, allocations: 345.3 kB / 1.289 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.9585, allocations: 208.8 kB / 1.289 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/0.959, allocations: 319.5 kB / 1.29 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.9597, allocations: 0.5339 MB / 1.29 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9597, allocations: 0 / 1.29 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001344/0.9611, allocations: 0.7521 MB / 1.291 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.9612, allocations: 125 kB / 1.291 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.9612, allocations: 4.672 kB / 1.291 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.9612, allocations: 7.969 kB / 1.291 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.9614, allocations: 54.52 kB / 1.291 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.9614, allocations: 10.45 kB / 1.291 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.9622, allocations: 132.4 kB / 1.291 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.9623, allocations: 63.88 kB / 1.291 GB, free: 4.328 MB / 0.9981 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.0002568/0.9626, allocations: 199.4 kB / 1.291 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.9626, allocations: 36.72 kB / 1.291 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005969/0.9632, allocations: 360.2 kB / 1.292 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.9632, allocations: 11.12 kB / 1.292 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.9632, allocations: 1.281 kB / 1.292 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.9632, allocations: 2.062 kB / 1.292 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.9644, allocations: 0.7522 MB / 1.293 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9644, allocations: 1.156 kB / 1.293 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.9645, allocations: 36.61 kB / 1.293 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.9645, allocations: 5.156 kB / 1.293 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.9646, allocations: 8.766 kB / 1.293 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.9646, allocations: 1.562 kB / 1.293 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.9646, allocations: 4 kB / 1.293 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.9651, allocations: 438.6 kB / 1.293 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-05/0.9652, allocations: 110.8 kB / 1.293 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.9652, allocations: 16.62 kB / 1.293 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.9653, allocations: 13.66 kB / 1.293 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.9654, allocations: 21.52 kB / 1.293 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.9654, allocations: 9.594 kB / 1.293 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002318/0.9657, allocations: 225.9 kB / 1.293 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9657, allocations: 0 / 1.293 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004793/0.9661, allocations: 91.59 kB / 1.293 GB, free: 3.012 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: 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.0009503/0.9671, allocations: 0.9843 MB / 1.294 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009385/0.968, allocations: 0.6143 MB / 1.295 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.968, allocations: 1.344 kB / 1.295 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.9682, allocations: 123.6 kB / 1.295 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.9688, allocations: 82.48 kB / 1.295 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/0.9742, allocations: 3.842 MB / 1.299 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.9747, allocations: 0.7795 MB / 1.3 GB, free: 14.72 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002666/0.9749, allocations: 76.47 kB / 1.3 GB, free: 14.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.9751, allocations: 115.3 kB / 1.3 GB, free: 14.63 MB / 1.014 GB Notification: Performance of SimCode: time 8.71e-07/0.9751, allocations: 0 / 1.3 GB, free: 14.63 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/1.004, allocations: 8.503 MB / 1.308 GB, free: 13.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.072/10.08, allocations: 8.766 kB / 1.308 GB, free: 13.69 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.70872049499303] Failed to read output from testmodel.py, exit status != 0: 10.214968810032587 10.236610836 9.28271195 Calling exit ...