Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.001078/0.001077, allocations: 97.95 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.009637/0.009637, allocations: 170.1 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.008/3.008, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003899, allocations: 6.594 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4499, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001076/0.4511, allocations: 340 kB / 1.074 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.4528, allocations: 1.108 MB / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.4529, allocations: 0 / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.4529, allocations: 4 kB / 1.076 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/0.453, allocations: 7.938 kB / 1.076 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.4535, allocations: 107.5 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.4537, allocations: 83.75 kB / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.4538, allocations: 8 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.136e-05/0.4539, allocations: 23.98 kB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.454, allocations: 31.89 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.454, allocations: 4 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.946e-05/0.4541, allocations: 15.98 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.4541, allocations: 11.98 kB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.839e-05/0.4542, allocations: 49.56 kB / 1.076 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.4544, allocations: 79.83 kB / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4544, allocations: 0 / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.621e-06/0.4544, allocations: 0 / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.4544, allocations: 3.938 kB / 1.076 GB, free: 5.621 MB / 0.8262 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.0005566/0.455, allocations: 361.4 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.4551, allocations: 12.03 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.4551, allocations: 8.938 kB / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.4553, allocations: 176.2 kB / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.4553, allocations: 4.375 kB / 1.077 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.4554, allocations: 8.375 kB / 1.077 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.4555, allocations: 38.25 kB / 1.077 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.4555, allocations: 192 / 1.077 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.4555, allocations: 7.938 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.4555, allocations: 0 / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.161e-05/0.4556, allocations: 4 kB / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.4561, allocations: 300.8 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.268e-05/0.4562, allocations: 34.45 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.4562, allocations: 8.922 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.4562, allocations: 4 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.4564, allocations: 63.38 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.4564, allocations: 7.938 kB / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000244/0.4567, allocations: 73.61 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.4567, allocations: 51.41 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.4568, allocations: 113.8 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.4569, allocations: 25.7 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.4569, allocations: 88.14 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.457, allocations: 3.906 kB / 1.077 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.457, allocations: 21.7 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4572, allocations: 318.8 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-05/0.4573, allocations: 35.98 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/0.4573, allocations: 46.56 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.4575, allocations: 88.2 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4575, allocations: 3.938 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002673/0.4578, allocations: 147.3 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.4578, allocations: 37.69 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4578, allocations: 0 / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.4579, allocations: 4 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.4579, allocations: 3.938 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4579, allocations: 400 / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.4582, allocations: 51.89 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.4582, allocations: 4 kB / 1.078 GB, free: 3.238 MB / 0.8262 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 0.0001154/0.4584, allocations: 121.7 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.4584, allocations: 4 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.4584, allocations: 3.906 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4584, allocations: 0 / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.4584, allocations: 3.984 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4584, allocations: 4.234 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.4586, allocations: 157.6 kB / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4586, allocations: 4 kB / 1.078 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.4586, allocations: 15.97 kB / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4586, allocations: 0 / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.4586, allocations: 64 / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.4586, allocations: 4 kB / 1.078 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4587, allocations: 4 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.4588, allocations: 81.06 kB / 1.078 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.4588, allocations: 81.02 kB / 1.078 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.4589, allocations: 7.984 kB / 1.079 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.38e-05/0.4589, allocations: 3.938 kB / 1.079 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.4589, allocations: 7.938 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.4589, allocations: 0 / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.258e-05/0.459, allocations: 95.25 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.459, allocations: 0 / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002076/0.4592, allocations: 12 kB / 1.079 GB, free: 2.535 MB / 0.8262 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.0001646/0.4594, allocations: 103.2 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.4596, allocations: 127.4 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/0.4596, allocations: 0 / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.4597, allocations: 23.91 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.4599, allocations: 7.938 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.4602, allocations: 138.6 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.4605, allocations: 0.6811 MB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.978e-05/0.4605, allocations: 4 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.4606, allocations: 11.44 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4606, allocations: 0 / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of Templates: time 0.003799/0.4644, allocations: 1.015 MB / 1.081 GB, free: 376 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)