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.001306/0.001306, allocations: 113.5 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.001522/0.001522, allocations: 218.9 kB / 23.04 MB, free: 5.078 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.371/3.371, allocations: 0.49 GB / 0.7959 GB, free: 33.46 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.002763/0.002763, allocations: 65.31 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.455, allocations: 176.1 MB / 1.327 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003109/0.4581, allocations: 1.162 MB / 1.328 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002867/0.461, allocations: 1.564 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.4612, allocations: 7.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.4614, allocations: 27.61 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.4617, allocations: 67.5 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.4631, allocations: 496.7 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009414/0.4641, allocations: 0.5816 MB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.4644, allocations: 104.9 kB / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004642/0.4649, allocations: 235.4 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004739/0.4653, allocations: 219.2 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.4655, allocations: 60 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.4657, allocations: 72 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.4659, allocations: 79.69 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.4662, allocations: 223.1 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009109/0.4671, allocations: 0.6306 MB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4671, allocations: 0 / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.043e-06/0.4671, allocations: 0 / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.258e-05/0.4672, allocations: 0 / 1.332 GB, free: 12.43 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.001357/0.4685, allocations: 0.6795 MB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.4686, allocations: 8.031 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.879e-05/0.4686, allocations: 8.625 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.976e-05/0.4687, allocations: 54.73 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.4688, allocations: 44.7 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.4699, allocations: 337.8 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.664e-05/0.47, allocations: 24.81 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.47, allocations: 36.38 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.4705, allocations: 259.3 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4705, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.4706, allocations: 19.98 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.4706, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.4709, allocations: 157.7 kB / 1.334 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.4725, allocations: 0.8093 MB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.4728, allocations: 210.7 kB / 1.335 GB, free: 9.656 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.4731, allocations: 199 kB / 1.335 GB, free: 9.461 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.4732, allocations: 4 kB / 1.335 GB, free: 9.457 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003913/0.4736, allocations: 248.6 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.4736, allocations: 3.938 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0008539/0.4744, allocations: 431.1 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.4745, allocations: 110.8 kB / 1.336 GB, free: 8.629 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.4749, allocations: 324.3 kB / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.871e-05/0.475, allocations: 45.69 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.4752, allocations: 188.6 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.028e-05/0.4753, allocations: 59.58 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.4756, allocations: 146 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4757, allocations: 342.8 kB / 1.337 GB, free: 7.512 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/0.4762, allocations: 204.7 kB / 1.337 GB, free: 7.312 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.4767, allocations: 336.8 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007549/0.4774, allocations: 0.531 MB / 1.338 GB, free: 6.332 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.4774, allocations: 4 kB / 1.338 GB, free: 6.328 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001315/0.4788, allocations: 0.7332 MB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.4789, allocations: 130.8 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.4789, allocations: 0 / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.4789, allocations: 12.34 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.4792, allocations: 59.91 kB / 1.339 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.4792, allocations: 8 kB / 1.339 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007429/0.4799, allocations: 127.6 kB / 1.339 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.48, allocations: 71.86 kB / 1.339 GB, free: 5.141 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.0002796/0.4803, allocations: 185.7 kB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.4804, allocations: 39.75 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006429/0.481, allocations: 361.6 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.4811, allocations: 11.94 kB / 1.339 GB, free: 4.539 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4811, allocations: 0 / 1.339 GB, free: 4.539 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.4811, allocations: 3.984 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.4822, allocations: 0.728 MB / 1.34 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4823, allocations: 0 / 1.34 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.4824, allocations: 35.92 kB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.4824, allocations: 8 kB / 1.34 GB, free: 3.715 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.4824, allocations: 4 kB / 1.34 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.4824, allocations: 4 kB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4824, allocations: 0 / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.483, allocations: 436.6 kB / 1.34 GB, free: 3.266 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.215e-05/0.4831, allocations: 39.7 kB / 1.341 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.4832, allocations: 11.92 kB / 1.341 GB, free: 3.215 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.4833, allocations: 8 kB / 1.341 GB, free: 3.207 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.4834, allocations: 27.95 kB / 1.341 GB, free: 3.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.4834, allocations: 8 kB / 1.341 GB, free: 3.172 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003274/0.4838, allocations: 219.1 kB / 1.341 GB, free: 2.957 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4838, allocations: 3.938 kB / 1.341 GB, free: 2.953 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005635/0.4843, allocations: 91.92 kB / 1.341 GB, free: 2.863 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.001036/0.4854, allocations: 0.9912 MB / 1.342 GB, free: 1.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.4864, allocations: 0.6111 MB / 1.342 GB, free: 1.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4865, allocations: 4.797 kB / 1.342 GB, free: 1.176 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.4867, allocations: 128.4 kB / 1.343 GB, free: 1.051 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.4872, allocations: 73.05 kB / 1.343 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/0.493, allocations: 3.842 MB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.4934, allocations: 0.7798 MB / 1.347 GB, free: 12.14 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002457/0.4936, allocations: 75.22 kB / 1.347 GB, free: 12.07 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.4938, allocations: 107.4 kB / 1.347 GB, free: 11.96 MB / 1.045 GB Notification: Performance of SimCode: time 9.72e-07/0.4938, allocations: 0 / 1.347 GB, free: 11.96 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.5282, allocations: 8.821 MB / 1.356 GB, free: 3.367 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.2, allocations: 10.33 kB / 1.356 GB, free: 3.363 MB / 1.045 GB " [Timeout remaining time 288] (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.368838326015975] Failed to read output from testmodel.py, exit status != 0: 12.37283823598409 12.399206083 11.927759653 Calling exit ...