Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009162/0.0009163, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009028/0.009028, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.4 MB / 222.4 MB, free: 5.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.019/2.019, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006202/0.0006199, allocations: 15.44 kB / 0.6743 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3586, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.000887/0.3595, allocations: 349.8 kB / 0.7882 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3613, allocations: 1.111 MB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.3613, allocations: 4 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.3614, allocations: 0 / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.859e-05/0.3614, allocations: 7.875 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.362, allocations: 111.5 kB / 0.7894 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.3621, allocations: 79.81 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.3622, allocations: 11.98 kB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/0.3623, allocations: 23.98 kB / 0.7895 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.3623, allocations: 31.89 kB / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.3624, allocations: 4 kB / 0.7896 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.263e-05/0.3624, allocations: 15.98 kB / 0.7896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.3625, allocations: 7.938 kB / 0.7896 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.382e-05/0.3625, allocations: 53.61 kB / 0.7896 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.3627, allocations: 79.78 kB / 0.7897 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3627, allocations: 0 / 0.7897 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3627, allocations: 0 / 0.7897 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.3627, allocations: 0 / 0.7897 GB, free: 9.68 MB / 0.6075 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.0004325/0.3632, allocations: 365.4 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3632, allocations: 16.03 kB / 0.7901 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.3633, allocations: 4.938 kB / 0.7901 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.3634, allocations: 168.2 kB / 0.7902 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.3634, allocations: 8.375 kB / 0.7903 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.3635, allocations: 4.375 kB / 0.7903 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.535e-05/0.3636, allocations: 38.25 kB / 0.7903 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3636, allocations: 192 / 0.7903 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3636, allocations: 7.938 kB / 0.7903 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3636, allocations: 0 / 0.7903 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.076e-05/0.3637, allocations: 7.984 kB / 0.7903 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.3641, allocations: 304.8 kB / 0.7906 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.301e-05/0.3642, allocations: 30.44 kB / 0.7906 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.3642, allocations: 16.92 kB / 0.7906 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.3642, allocations: 4 kB / 0.7907 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.3644, allocations: 59.39 kB / 0.7907 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.3644, allocations: 4 kB / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000201/0.3646, allocations: 73.53 kB / 0.7908 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.3647, allocations: 51.41 kB / 0.7908 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.3648, allocations: 109.8 kB / 0.7909 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3648, allocations: 25.7 kB / 0.791 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.3649, allocations: 96.12 kB / 0.7911 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.3649, allocations: 3.906 kB / 0.7911 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.365, allocations: 21.66 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3651, allocations: 318.8 kB / 0.7914 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-05/0.3652, allocations: 35.97 kB / 0.7914 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.054e-05/0.3652, allocations: 50.56 kB / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.3654, allocations: 84.2 kB / 0.7915 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3654, allocations: 3.938 kB / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000264/0.3656, allocations: 155.2 kB / 0.7917 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.3657, allocations: 37.69 kB / 0.7917 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3657, allocations: 0 / 0.7917 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3657, allocations: 0 / 0.7917 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.3658, allocations: 4.234 kB / 0.7917 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3658, allocations: 0 / 0.7917 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.366, allocations: 40.03 kB / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.3661, allocations: 8 kB / 0.7918 GB, free: 7.297 MB / 0.6075 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,booPul.y,$PRE.booPul.y,booToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.463e-05/0.3662, allocations: 122.4 kB / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.3662, allocations: 7.984 kB / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.3662, allocations: 7.906 kB / 0.7919 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3662, allocations: 0 / 0.7919 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3662, allocations: 0 / 0.7919 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3662, allocations: 0 / 0.7919 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.3664, allocations: 169.6 kB / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3664, allocations: 0 / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.3664, allocations: 4 kB / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3664, allocations: 0 / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3664, allocations: 4 kB / 0.7921 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3664, allocations: 0 / 0.7921 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3664, allocations: 3.938 kB / 0.7921 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.3666, allocations: 92.95 kB / 0.7922 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.3667, allocations: 81.11 kB / 0.7923 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3667, allocations: 4.062 kB / 0.7923 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.3667, allocations: 0 / 0.7923 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.3667, allocations: 11.92 kB / 0.7923 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.3667, allocations: 0 / 0.7923 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.3668, allocations: 87.28 kB / 0.7924 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3668, allocations: 0 / 0.7924 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002068/0.367, allocations: 12 kB / 0.7924 GB, free: 6.598 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001601/0.3672, allocations: 119.2 kB / 0.7925 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002706/0.3675, allocations: 123.4 kB / 0.7926 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3675, allocations: 0 / 0.7926 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.187e-05/0.3675, allocations: 11.94 kB / 0.7926 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.3677, allocations: 19.92 kB / 0.7926 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.368, allocations: 142.7 kB / 0.7928 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3682, allocations: 0.6809 MB / 0.7934 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.828e-05/0.3683, allocations: 0 / 0.7934 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.3683, allocations: 11.44 kB / 0.7934 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.3683, allocations: 0 / 0.7934 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of Templates: time 0.003762/0.3721, allocations: 1.018 MB / 0.7944 GB, free: 4.418 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) Environment - environmentSimulation: