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.001361/0.001361, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001467/0.001467, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.6/1.6, allocations: 230.6 MB / 256.8 MB, free: 8 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.228/3.228, allocations: 0.49 GB / 0.7959 GB, free: 33.27 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.00204/0.00204, allocations: 78.17 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3477, allocations: 176.1 MB / 1.327 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.00231/0.35, allocations: 1.042 MB / 1.328 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.3522, allocations: 1.502 MB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.3523, allocations: 7.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.3525, allocations: 31.67 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.3526, allocations: 39.66 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.3538, allocations: 477.4 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000636/0.3544, allocations: 0.5036 MB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.3547, allocations: 88.17 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.355, allocations: 211.5 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.3552, allocations: 191.4 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.779e-05/0.3553, allocations: 52 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.3555, allocations: 67.97 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.3556, allocations: 55.84 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.3558, allocations: 199.2 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006004/0.3564, allocations: 0.5139 MB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3564, allocations: 3.938 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3564, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.3564, allocations: 0 / 1.331 GB, free: 12.99 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.0009769/0.3574, allocations: 0.6251 MB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3574, allocations: 16.03 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.013e-05/0.3574, allocations: 4.562 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.571e-05/0.3575, allocations: 54.73 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.3576, allocations: 40.75 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009655/0.3586, allocations: 291.2 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.3586, allocations: 28.75 kB / 1.333 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/0.3587, allocations: 36.31 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.3591, allocations: 247.3 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3591, allocations: 0 / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.3592, allocations: 11.98 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.3592, allocations: 4 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.3594, allocations: 135.9 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.361, allocations: 0.7333 MB / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.3614, allocations: 170.5 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.3617, allocations: 200.8 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.3617, allocations: 4 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003618/0.362, allocations: 249.3 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.362, allocations: 0 / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0007552/0.3628, allocations: 416.9 kB / 1.335 GB, free: 9.578 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.3629, allocations: 110.8 kB / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.3632, allocations: 285.7 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.986e-05/0.3633, allocations: 41.7 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.3634, allocations: 176.7 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.3635, allocations: 63.45 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.3637, allocations: 146 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3639, allocations: 342.8 kB / 1.336 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.3643, allocations: 200.1 kB / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.3647, allocations: 316.2 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007028/0.3654, allocations: 0.5271 MB / 1.337 GB, free: 7.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3655, allocations: 0 / 1.337 GB, free: 7.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001221/0.3667, allocations: 0.7254 MB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.3668, allocations: 123.2 kB / 1.338 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3668, allocations: 8 kB / 1.338 GB, free: 6.324 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.3668, allocations: 4 kB / 1.338 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3669, allocations: 19.92 kB / 1.338 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.3669, allocations: 11.94 kB / 1.338 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007472/0.3677, allocations: 135.5 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.3678, allocations: 63.92 kB / 1.338 GB, free: 6.094 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.0002904/0.3681, allocations: 189.7 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.3682, allocations: 31.81 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006298/0.3688, allocations: 356.6 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3688, allocations: 0 / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3688, allocations: 4 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.3688, allocations: 7.922 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009793/0.3698, allocations: 0.6774 MB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3698, allocations: 0 / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-05/0.3699, allocations: 19.92 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3699, allocations: 0 / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.3699, allocations: 15.92 kB / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3699, allocations: 0 / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3699, allocations: 0 / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.3704, allocations: 424.7 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.3705, allocations: 39.75 kB / 1.34 GB, free: 4.277 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.3705, allocations: 11.89 kB / 1.34 GB, free: 4.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.3707, allocations: 11.98 kB / 1.34 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.3707, allocations: 23.95 kB / 1.34 GB, free: 4.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3707, allocations: 11.94 kB / 1.34 GB, free: 4.219 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002073/0.3709, allocations: 191.1 kB / 1.34 GB, free: 4.027 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3709, allocations: 7.938 kB / 1.34 GB, free: 4.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004694/0.3714, allocations: 83.98 kB / 1.34 GB, free: 3.938 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.0009305/0.3723, allocations: 0.9718 MB / 1.341 GB, free: 2.938 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009843/0.3733, allocations: 0.5962 MB / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3733, allocations: 8.062 kB / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.3735, allocations: 128.3 kB / 1.342 GB, free: 2.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.374, allocations: 67.84 kB / 1.342 GB, free: 2.098 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005069/0.3791, allocations: 3.614 MB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.3795, allocations: 0.7607 MB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.3797, allocations: 70.91 kB / 1.346 GB, free: 13.44 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.3798, allocations: 99.41 kB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of SimCode: time 8.31e-07/0.3798, allocations: 0 / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/0.4119, allocations: 8.193 MB / 1.354 GB, free: 5.363 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.37, allocations: 13.84 kB / 1.354 GB, free: 5.352 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.227938137948513] Failed to read output from testmodel.py, exit status != 0: 12.530859509017318 12.548048558 12.188337897 Calling exit ...