Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.001884/0.001884, 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.002436/0.002436, allocations: 217.3 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.207/3.207, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.BooleanExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",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.003089/0.003089, allocations: 69.31 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3614, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002762/0.3642, allocations: 0.9897 MB / 1.328 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002396/0.3666, allocations: 1.479 MB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.3668, allocations: 3.938 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.3669, allocations: 27.67 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.3671, allocations: 51.62 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.3683, allocations: 466.9 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006728/0.369, allocations: 0.5076 MB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.3693, allocations: 84.17 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/0.3697, allocations: 211.5 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.3701, allocations: 191.3 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.3702, allocations: 56 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.3704, allocations: 63.97 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-05/0.3705, allocations: 55.84 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.3707, allocations: 179.3 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007035/0.3714, allocations: 0.5178 MB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3714, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3714, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.3714, allocations: 0 / 1.331 GB, free: 12.64 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001046/0.3725, allocations: 0.6251 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3725, allocations: 8.031 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.648e-05/0.3725, allocations: 4.562 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.117e-05/0.3726, allocations: 58.73 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.3727, allocations: 40.75 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009754/0.3737, allocations: 295.1 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.3738, allocations: 24.75 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.332e-05/0.3738, allocations: 32.38 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.3744, allocations: 379.9 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3744, allocations: 4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.3744, allocations: 4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.3744, allocations: 11.98 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.3747, allocations: 135.9 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.376, allocations: 0.6554 MB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.3763, allocations: 178.4 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.3766, allocations: 192.8 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.3766, allocations: 4 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004162/0.3771, allocations: 351.9 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.3771, allocations: 3.938 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0007638/0.3778, allocations: 423.2 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/0.3779, allocations: 106.8 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.3782, allocations: 293.6 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.3783, allocations: 37.7 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.3785, allocations: 164.8 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.3785, allocations: 67.53 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000281/0.3788, allocations: 142 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002649/0.3791, allocations: 346.7 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.3796, allocations: 330.9 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.3802, allocations: 486.4 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007789/0.381, allocations: 0.5271 MB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.381, allocations: 4 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001297/0.3823, allocations: 0.8493 MB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.3824, allocations: 122.8 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3824, allocations: 4 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.3824, allocations: 4 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3825, allocations: 23.92 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.3825, allocations: 11.92 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/0.3832, allocations: 135.9 kB / 1.338 GB, free: 5.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.3833, allocations: 63.92 kB / 1.338 GB, free: 5.027 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,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.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.0003262/0.3836, allocations: 189.6 kB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.3837, allocations: 31.81 kB / 1.338 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006097/0.3843, allocations: 356.7 kB / 1.339 GB, free: 4.453 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3843, allocations: 4 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3843, allocations: 3.984 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3843, allocations: 7.875 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009048/0.3852, allocations: 0.6618 MB / 1.339 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3852, allocations: 0 / 1.339 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/0.3853, allocations: 19.94 kB / 1.339 GB, free: 3.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3853, allocations: 0 / 1.339 GB, free: 3.707 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.3853, allocations: 15.92 kB / 1.339 GB, free: 3.691 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.3853, allocations: 4 kB / 1.339 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3853, allocations: 0 / 1.339 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.3858, allocations: 420.7 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.3859, allocations: 27.75 kB / 1.34 GB, free: 3.234 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.3859, allocations: 27.81 kB / 1.34 GB, free: 3.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.386, allocations: 11.98 kB / 1.34 GB, free: 3.195 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.3861, allocations: 23.95 kB / 1.34 GB, free: 3.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.3861, allocations: 12 kB / 1.34 GB, free: 3.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000196/0.3863, allocations: 187.1 kB / 1.34 GB, free: 2.973 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3863, allocations: 0 / 1.34 GB, free: 2.973 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004211/0.3867, allocations: 87.98 kB / 1.34 GB, free: 2.887 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 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.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.001054/0.3878, allocations: 0.9757 MB / 1.341 GB, free: 1.883 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.389, allocations: 0.7232 MB / 1.342 GB, free: 1.086 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.389, allocations: 0 / 1.342 GB, free: 1.086 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.3891, allocations: 128.3 kB / 1.342 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.3896, allocations: 65.41 kB / 1.342 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005581/0.3952, allocations: 4.116 MB / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.3954, allocations: 159.9 kB / 1.346 GB, free: 12.31 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000156/0.3955, allocations: 66.92 kB / 1.346 GB, free: 12.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.3957, allocations: 99.39 kB / 1.346 GB, free: 12.15 MB / 1.045 GB Notification: Performance of SimCode: time 6.61e-07/0.3957, allocations: 0 / 1.346 GB, free: 12.15 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.4301, allocations: 8.544 MB / 1.355 GB, free: 3.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.51, allocations: 5.141 kB / 1.355 GB, free: 3.91 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.281522284960374] Failed to read output from testmodel.py, exit status != 0: 12.685474989935756 12.703140360999999 12.328421419 Calling exit ...