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.001395/0.001395, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001555/0.001555, allocations: 215 kB / 20.13 MB, free: 2.949 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.581/1.581, 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 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.027/3.027, allocations: 0.49 GB / 0.7923 GB, free: 1.348 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.002126/0.002126, allocations: 67.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.126, allocations: 176.1 MB / 1.321 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002205/1.128, allocations: 1.16 MB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0017/1.13, allocations: 1.534 MB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/1.13, allocations: 2.875 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001418/1.13, allocations: 38.98 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/1.131, allocations: 66.19 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/1.132, allocations: 496.8 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004767/1.132, allocations: 0.5857 MB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/1.132, allocations: 117 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/1.132, allocations: 239.7 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/1.133, allocations: 211.8 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.504e-05/1.133, allocations: 60.25 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/1.133, allocations: 73.97 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/1.133, allocations: 82.55 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001713/1.133, allocations: 222.8 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005353/1.134, allocations: 0.6239 MB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.134, allocations: 0 / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/1.134, allocations: 0.6875 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.134, allocations: 4 kB / 1.327 GB, free: 21.45 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.0009297/1.135, allocations: 0.7554 MB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/1.135, allocations: 14.08 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.485e-05/1.135, allocations: 9.781 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/1.135, allocations: 53.62 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/1.135, allocations: 50.23 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009373/1.136, allocations: 398.9 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/1.136, allocations: 24.5 kB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.695e-05/1.136, allocations: 39.62 kB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/1.136, allocations: 255.6 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/1.136, allocations: 3.938 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/1.136, allocations: 10.97 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/1.136, allocations: 5.438 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/1.137, allocations: 151.4 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/1.138, allocations: 0.8532 MB / 1.329 GB, free: 19.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/1.139, allocations: 207.3 kB / 1.33 GB, free: 19.67 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/1.139, allocations: 198 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/1.139, allocations: 2.188 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003652/1.139, allocations: 247.8 kB / 1.33 GB, free: 19.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.353e-06/1.139, allocations: 0 / 1.33 GB, free: 19.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.0007612/1.14, allocations: 444 kB / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/1.14, allocations: 109 kB / 1.331 GB, free: 19.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/1.14, allocations: 327.8 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/1.14, allocations: 42.94 kB / 1.331 GB, free: 18.99 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/1.141, allocations: 183.5 kB / 1.331 GB, free: 18.83 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/1.141, allocations: 66.14 kB / 1.331 GB, free: 18.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/1.141, allocations: 145.9 kB / 1.331 GB, free: 18.72 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.957e-05/1.141, allocations: 341.3 kB / 1.332 GB, free: 18.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/1.141, allocations: 213.1 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/1.142, allocations: 323.3 kB / 1.332 GB, free: 18.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/1.142, allocations: 0.5292 MB / 1.333 GB, free: 17.76 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.142, allocations: 1.125 kB / 1.333 GB, free: 17.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00121/1.144, allocations: 0.7432 MB / 1.333 GB, free: 17.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.931e-05/1.144, allocations: 125.9 kB / 1.333 GB, free: 17.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.144, allocations: 3.625 kB / 1.333 GB, free: 17.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/1.144, allocations: 13.56 kB / 1.333 GB, free: 17.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/1.144, allocations: 57.88 kB / 1.334 GB, free: 17.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.144, allocations: 9.672 kB / 1.334 GB, free: 17.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007563/1.145, allocations: 128.2 kB / 1.334 GB, free: 17.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/1.145, allocations: 72.73 kB / 1.334 GB, free: 17.21 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.0002448/1.145, allocations: 193.1 kB / 1.334 GB, free: 17.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/1.145, allocations: 39.8 kB / 1.334 GB, free: 17.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000723/1.146, allocations: 360.4 kB / 1.334 GB, free: 16.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/1.146, allocations: 11.47 kB / 1.334 GB, free: 16.9 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.146, allocations: 0.5 kB / 1.334 GB, free: 16.9 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.146, allocations: 1.969 kB / 1.334 GB, free: 16.9 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/1.147, allocations: 0.7543 MB / 1.335 GB, free: 16.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/1.147, allocations: 0 / 1.335 GB, free: 16.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/1.147, allocations: 37.7 kB / 1.335 GB, free: 16.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.147, allocations: 5.312 kB / 1.335 GB, free: 16.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/1.147, allocations: 4.156 kB / 1.335 GB, free: 16.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/1.147, allocations: 5.891 kB / 1.335 GB, free: 16.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.147, allocations: 0 / 1.335 GB, free: 16.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/1.148, allocations: 435 kB / 1.336 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/1.148, allocations: 109.9 kB / 1.336 GB, free: 16.08 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/1.148, allocations: 8.297 kB / 1.336 GB, free: 16.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/1.148, allocations: 10 kB / 1.336 GB, free: 16.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/1.148, allocations: 25.17 kB / 1.336 GB, free: 16.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/1.148, allocations: 13.33 kB / 1.336 GB, free: 16.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001994/1.148, allocations: 218.2 kB / 1.336 GB, free: 15.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.148, allocations: 0 / 1.336 GB, free: 15.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004644/1.149, allocations: 95.52 kB / 1.336 GB, free: 15.92 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.0007477/1.149, allocations: 1.001 MB / 1.337 GB, free: 15.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008705/1.15, allocations: 0.6067 MB / 1.338 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.15, allocations: 0 / 1.338 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/1.15, allocations: 132.1 kB / 1.338 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/1.151, allocations: 86.59 kB / 1.338 GB, free: 14.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/1.156, allocations: 3.832 MB / 1.341 GB, free: 12.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/1.156, allocations: 0.7848 MB / 1.342 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002016/1.156, allocations: 71.58 kB / 1.342 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/1.156, allocations: 111.3 kB / 1.342 GB, free: 11.53 MB / 1.061 GB Notification: Performance of SimCode: time 6.62e-07/1.156, allocations: 1.062 kB / 1.342 GB, free: 11.53 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/1.19, allocations: 8.497 MB / 1.351 GB, free: 10.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.926/10.12, allocations: 13.94 kB / 1.351 GB, free: 10.64 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.988409667974338] Failed to read output from testmodel.py, exit status != 0: 10.253243646991905 10.2766064 9.138444243 Calling exit ...