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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 180.2 kB / 326.5 MB, free: 2.727 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008033/0.0008035, allocations: 85.19 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003649, allocations: 8.844 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2282, allocations: 105.4 MB / 0.8968 GB, free: 68.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001757/0.23, allocations: 1.042 MB / 0.8978 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000417/0.2305, allocations: 193 kB / 0.898 GB, free: 66.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.2305, allocations: 0 / 0.898 GB, free: 66.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.119e-05/0.2306, allocations: 3.984 kB / 0.898 GB, free: 66.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.2307, allocations: 11.94 kB / 0.898 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.2308, allocations: 4 kB / 0.898 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.956e-05/0.2309, allocations: 31.86 kB / 0.898 GB, free: 66.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2311, allocations: 8 kB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.011e-05/0.2311, allocations: 11.92 kB / 0.898 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.2312, allocations: 15.92 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.2312, allocations: 4 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.2312, allocations: 0 / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.2313, allocations: 3.984 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.2313, allocations: 11.94 kB / 0.8981 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.989e-05/0.2314, allocations: 36.11 kB / 0.8981 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2314, allocations: 0 / 0.8981 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2314, allocations: 0 / 0.8981 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2314, allocations: 0 / 0.8981 GB, free: 66.85 MB / 0.6042 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.0004402/0.2319, allocations: 339.4 kB / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.2319, allocations: 8.031 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.232, allocations: 12.84 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2321, allocations: 172.2 kB / 0.8986 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2321, allocations: 8.375 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.2321, allocations: 384 / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.594e-05/0.2322, allocations: 42.25 kB / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2323, allocations: 192 / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2323, allocations: 3.938 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2323, allocations: 0 / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.2323, allocations: 12 kB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.2327, allocations: 257 kB / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.2331, allocations: 98.48 kB / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.2331, allocations: 16.91 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.2331, allocations: 0 / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.2333, allocations: 63.3 kB / 0.8991 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.522e-06/0.2333, allocations: 0 / 0.8991 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001807/0.2334, allocations: 69.61 kB / 0.8991 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.2335, allocations: 55.34 kB / 0.8992 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.374e-05/0.2336, allocations: 109.8 kB / 0.8993 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.2336, allocations: 29.64 kB / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.2336, allocations: 92.12 kB / 0.8994 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.2336, allocations: 3.906 kB / 0.8994 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.2337, allocations: 17.72 kB / 0.8994 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.2337, allocations: 310.8 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.2337, allocations: 11.98 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/0.2338, allocations: 21.72 kB / 0.8998 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.2338, allocations: 29.66 kB / 0.8998 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2338, allocations: 0 / 0.8998 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.905e-05/0.2339, allocations: 65.53 kB / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2339, allocations: 4 kB / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.234, allocations: 0 / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.234, allocations: 0 / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.037e-05/0.234, allocations: 7.938 kB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.234, allocations: 7.969 kB / 0.8999 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.2341, allocations: 12.03 kB / 0.8999 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2341, allocations: 0 / 0.8999 GB, free: 64.77 MB / 0.6042 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 5.916e-05/0.2342, allocations: 121.7 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.2342, allocations: 0 / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.2342, allocations: 15.89 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2342, allocations: 0 / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2342, allocations: 0 / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.2343, allocations: 81.02 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2343, allocations: 4 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.878e-05/0.2343, allocations: 12.36 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.2344, allocations: 3.938 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001158/0.2345, allocations: 140.9 kB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.917e-05/0.2346, allocations: 222.8 kB / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.026e-05/0.2346, allocations: 19.98 kB / 0.9005 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.846e-05/0.2347, allocations: 87.28 kB / 0.9006 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of Backend: time 4.01e-07/0.2347, allocations: 0 / 0.9006 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003324/0.235, allocations: 94.33 kB / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004095/0.2354, allocations: 0.5851 MB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.002266/0.2377, allocations: 0.537 MB / 0.9018 GB, free: 62.77 MB / 0.6042 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)