Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.306/5.306, allocations: 0.5623 GB / 0.5776 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003021/0.003021, allocations: 357.4 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.671/4.671, allocations: 410.7 MB / 1.113 GB, free: 5.91 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001912/0.001912, allocations: 183.7 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006489/0.0006492, allocations: 12 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8156/0.8163, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0008552/0.8172, allocations: 346.9 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.8187, allocations: 1.07 MB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.8188, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.8188, allocations: 3.938 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/0.8189, allocations: 0.9375 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000582/0.8195, allocations: 116 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.8196, allocations: 67.83 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.5e-05/0.8197, allocations: 9.25 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.688e-05/0.8198, allocations: 27.98 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.362e-05/0.8199, allocations: 24.5 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.8199, allocations: 4 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.626e-05/0.82, allocations: 20.7 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.82, allocations: 3.938 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.8201, allocations: 35.11 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.8203, allocations: 59.84 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8203, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8203, allocations: 0.7188 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.8203, allocations: 7.938 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004089/0.8207, allocations: 359.5 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.8208, allocations: 16.22 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.8208, allocations: 5.438 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.824e-05/0.8209, allocations: 168 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.821, allocations: 8 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.821, allocations: 7.984 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.8211, allocations: 38.73 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.8212, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.8212, allocations: 11.42 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.8212, allocations: 3.938 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.209e-05/0.8213, allocations: 4 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.8217, allocations: 302.3 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.182e-05/0.8218, allocations: 25.14 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.8218, allocations: 12.86 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.8219, allocations: 4 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.822, allocations: 60.83 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.034e-06/0.8221, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0002456/0.8223, allocations: 65.69 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.8224, allocations: 57.33 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.8225, allocations: 113.8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.8225, allocations: 29.7 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.8226, allocations: 92.05 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.8226, allocations: 4.594 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.8226, allocations: 4 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.36e-05/0.8227, allocations: 319.4 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.8228, allocations: 33.59 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.8229, allocations: 46.56 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.8231, allocations: 59.81 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.8231, allocations: 4 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00034/0.8234, allocations: 143.3 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.8235, allocations: 38.42 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.8235, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.8235, allocations: 1.781 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.8236, allocations: 11.92 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.8236, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.824, allocations: 49.75 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.824, allocations: 4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booToInt.y,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.574e-05/0.8242, allocations: 118.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.8242, allocations: 11.89 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.8242, allocations: 8.781 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8242, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8242, allocations: 2.594 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.8243, allocations: 78.86 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.8243, allocations: 4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.387e-05/0.8243, allocations: 8.016 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.8244, allocations: 3.984 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000134/0.8245, allocations: 134.8 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001529/0.8247, allocations: 240.2 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.466e-05/0.8248, allocations: 12 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.781e-05/0.8248, allocations: 87.27 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of Backend: time 8.22e-07/0.8248, allocations: 0 / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005976/0.8254, allocations: 199.4 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004896/0.8259, allocations: 0.5801 MB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.004284/0.8302, allocations: 1.014 MB / 1.468 GB, free: 277.8 MB / 0.8542 GB