Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001331/0.001331, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001477/0.001477, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.271/3.271, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.IntegerExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_12_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.001988/0.001988, allocations: 65.31 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4569, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003288/0.4602, allocations: 1.077 MB / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002922/0.4631, allocations: 1.537 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.4634, allocations: 4 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.4636, allocations: 35.55 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.4638, allocations: 63.5 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.4653, allocations: 496.1 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.4664, allocations: 0.5855 MB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003904/0.4668, allocations: 108.9 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.4673, allocations: 227.4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004965/0.4678, allocations: 219.2 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.468, allocations: 60 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.4682, allocations: 75.98 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.4684, allocations: 71.72 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003724/0.4688, allocations: 203.2 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009382/0.4697, allocations: 0.6268 MB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4697, allocations: 3.938 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4697, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.4698, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 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.001628/0.4714, allocations: 0.6795 MB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.4714, allocations: 12.03 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.007e-05/0.4715, allocations: 4.625 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.273e-05/0.4715, allocations: 54.73 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.4717, allocations: 56.69 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.4729, allocations: 329.8 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/0.4729, allocations: 28.81 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.264e-05/0.473, allocations: 40.36 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.4736, allocations: 379.9 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4736, allocations: 3.938 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.4736, allocations: 12 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.4736, allocations: 4 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.4739, allocations: 157.7 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.4756, allocations: 0.7275 MB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.476, allocations: 212.7 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005111/0.4765, allocations: 188.8 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.4765, allocations: 0 / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006542/0.4772, allocations: 355.6 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.4772, allocations: 0 / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.001005/0.4782, allocations: 439 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.4783, allocations: 106.8 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.4789, allocations: 332.3 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.71e-05/0.479, allocations: 41.7 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.4792, allocations: 184.7 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.4793, allocations: 63.58 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.4796, allocations: 142 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002301/0.4798, allocations: 338.8 kB / 1.337 GB, free: 6.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000583/0.4804, allocations: 335.5 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/0.4812, allocations: 0.503 MB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008107/0.482, allocations: 0.5388 MB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.482, allocations: 0 / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001459/0.4834, allocations: 0.8571 MB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.4836, allocations: 132.7 kB / 1.339 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.4836, allocations: 7.875 kB / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/0.4836, allocations: 11.94 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.4839, allocations: 59.84 kB / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.4839, allocations: 8.406 kB / 1.339 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007395/0.4846, allocations: 131.6 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.4848, allocations: 63.92 kB / 1.339 GB, free: 4.09 MB / 1.029 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.0003517/0.4851, allocations: 199.8 kB / 1.339 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.4852, allocations: 35.77 kB / 1.339 GB, free: 3.855 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000702/0.4859, allocations: 361.6 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.4859, allocations: 11.94 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.4859, allocations: 0 / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.4859, allocations: 3.984 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.4872, allocations: 0.6929 MB / 1.34 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.4872, allocations: 4 kB / 1.34 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.4873, allocations: 39.98 kB / 1.34 GB, free: 2.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.4873, allocations: 0 / 1.34 GB, free: 2.691 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.4873, allocations: 11.98 kB / 1.34 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.4873, allocations: 0 / 1.34 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4873, allocations: 0 / 1.34 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006829/0.488, allocations: 448.5 kB / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.4881, allocations: 31.7 kB / 1.341 GB, free: 2.195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.4881, allocations: 8 kB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.4883, allocations: 15.97 kB / 1.341 GB, free: 2.172 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.4883, allocations: 23.95 kB / 1.341 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.4884, allocations: 12 kB / 1.341 GB, free: 2.137 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003178/0.4887, allocations: 211.1 kB / 1.341 GB, free: 1.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4887, allocations: 0 / 1.341 GB, free: 1.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000568/0.4893, allocations: 95.94 kB / 1.341 GB, free: 1.836 MB / 1.029 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.001152/0.4904, allocations: 0.9835 MB / 1.342 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.4915, allocations: 0.7427 MB / 1.343 GB, free: 4 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4915, allocations: 0 / 1.343 GB, free: 4 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.4918, allocations: 136.3 kB / 1.343 GB, free: 15.87 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.4923, allocations: 77.8 kB / 1.343 GB, free: 15.8 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006047/0.4984, allocations: 4.364 MB / 1.347 GB, free: 11.14 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.4986, allocations: 177.5 kB / 1.348 GB, free: 10.96 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002137/0.4988, allocations: 75.22 kB / 1.348 GB, free: 10.88 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.499, allocations: 111.4 kB / 1.348 GB, free: 10.77 MB / 1.045 GB Notification: Performance of SimCode: time 9.11e-07/0.499, allocations: 0 / 1.348 GB, free: 10.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.5341, allocations: 9.218 MB / 1.357 GB, free: 1.871 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.34, allocations: 16.39 kB / 1.357 GB, free: 1.859 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.307309814961627] Failed to read output from testmodel.py, exit status != 0: 12.509387247962877 12.53750025 12.062582261 Calling exit ...