Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.01229/0.01229, allocations: 102 kB / 15.73 MB, free: 6.043 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.001872/0.001873, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.663/1.663, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 251.7 MB / 0.5094 GB, free: 448 kB / 430.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.002063/0.002063, allocations: 67.91 kB / 0.7258 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.8218, allocations: 104.7 MB / 0.828 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002625/0.8245, allocations: 1.307 MB / 0.8293 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0005097/0.825, allocations: 198.5 kB / 0.8295 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.8251, allocations: 0 / 0.8295 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.8251, allocations: 3.938 kB / 0.8295 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.761e-05/0.8252, allocations: 7.938 kB / 0.8295 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.8254, allocations: 11.92 kB / 0.8295 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.8255, allocations: 31.92 kB / 0.8295 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.8257, allocations: 7.938 kB / 0.8296 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.8257, allocations: 12 kB / 0.8296 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.829e-05/0.8258, allocations: 11.92 kB / 0.8296 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.8258, allocations: 11.92 kB / 0.8296 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.8258, allocations: 4 kB / 0.8296 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.8259, allocations: 7.984 kB / 0.8296 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.8259, allocations: 11.94 kB / 0.8296 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.826, allocations: 27.89 kB / 0.8296 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.826, allocations: 0 / 0.8296 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.787e-06/0.8261, allocations: 3.938 kB / 0.8296 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.8261, allocations: 3.938 kB / 0.8296 GB, free: 0.9609 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006017/0.8267, allocations: 351 kB / 0.83 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.8267, allocations: 8.031 kB / 0.83 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.8268, allocations: 4.938 kB / 0.83 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.8269, allocations: 166.5 kB / 0.8301 GB, free: 368 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.827, allocations: 4.375 kB / 0.8302 GB, free: 364 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.827, allocations: 384 / 0.8302 GB, free: 364 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.8271, allocations: 42.25 kB / 0.8302 GB, free: 316 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.8271, allocations: 192 / 0.8302 GB, free: 316 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.8272, allocations: 3.938 kB / 0.8302 GB, free: 312 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.8272, allocations: 0 / 0.8302 GB, free: 312 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.111e-05/0.8272, allocations: 19.98 kB / 0.8302 GB, free: 292 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.8277, allocations: 256.9 kB / 0.8305 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.8281, allocations: 74.45 kB / 0.8305 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.8281, allocations: 13.02 kB / 0.8305 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.8282, allocations: 7.984 kB / 0.8306 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.8283, allocations: 59.33 kB / 0.8306 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.8283, allocations: 4 kB / 0.8306 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.0002096/0.8285, allocations: 57.69 kB / 0.8307 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.8286, allocations: 51.41 kB / 0.8307 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.8287, allocations: 109.8 kB / 0.8308 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.8288, allocations: 25.7 kB / 0.8308 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.8288, allocations: 96.05 kB / 0.8309 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.8288, allocations: 3.906 kB / 0.8309 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.8289, allocations: 21.7 kB / 0.831 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.829, allocations: 314.8 kB / 0.8313 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.829, allocations: 8 kB / 0.8313 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/0.8291, allocations: 25.64 kB / 0.8313 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.693e-05/0.8292, allocations: 37.89 kB / 0.8313 GB, free: 15 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8292, allocations: 3.938 kB / 0.8313 GB, free: 15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.116e-05/0.8293, allocations: 57.62 kB / 0.8314 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.8293, allocations: 4 kB / 0.8314 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.8293, allocations: 0 / 0.8314 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8293, allocations: 4 kB / 0.8314 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.155e-05/0.8294, allocations: 7.938 kB / 0.8314 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.8294, allocations: 0 / 0.8314 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.8294, allocations: 15.86 kB / 0.8314 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.8294, allocations: 4.031 kB / 0.8314 GB, free: 14.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booPul.pulseStart,$PRE.booPul.pulseStart,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): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001043/0.8296, allocations: 118.8 kB / 0.8315 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.8296, allocations: 3.906 kB / 0.8315 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.8296, allocations: 7.906 kB / 0.8315 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.8296, allocations: 3.984 kB / 0.8316 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.8296, allocations: 0 / 0.8316 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8296, allocations: 0 / 0.8316 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.8298, allocations: 165.6 kB / 0.8317 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8298, allocations: 0 / 0.8317 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.8298, allocations: 7.922 kB / 0.8317 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.8298, allocations: 4 kB / 0.8317 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.8299, allocations: 4 kB / 0.8317 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.8299, allocations: 0 / 0.8317 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8299, allocations: 0 / 0.8317 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.83, allocations: 77.06 kB / 0.8318 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.83, allocations: 81.48 kB / 0.8319 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.8301, allocations: 0 / 0.8319 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.8301, allocations: 15.98 kB / 0.8319 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.8302, allocations: 4 kB / 0.8319 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.8302, allocations: 7.984 kB / 0.8319 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.8302, allocations: 79.28 kB / 0.832 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.8302, allocations: 0 / 0.832 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000198/0.8304, allocations: 11.91 kB / 0.832 GB, free: 14.22 MB / 0.6387 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,booToInt.y,booPul.y,booPul.pulseStart) * 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.0001305/0.8306, allocations: 103.2 kB / 0.8321 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.8307, allocations: 23.98 kB / 0.8321 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8307, allocations: 4.062 kB / 0.8321 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.8307, allocations: 12 kB / 0.8321 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.831, allocations: 15.92 kB / 0.8321 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.8313, allocations: 126 kB / 0.8323 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.8315, allocations: 0.6805 MB / 0.8329 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.73e-05/0.8316, allocations: 4 kB / 0.8329 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.8316, allocations: 11.42 kB / 0.8329 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.8316, allocations: 11.94 kB / 0.833 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of Templates: time 0.002734/0.8343, allocations: 0.5419 MB / 0.8335 GB, free: 12.64 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)