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.387/1.387, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.00191/0.00191, allocations: 190.7 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205 MB / 0.5766 GB, free: 20.96 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.000976/0.000976, allocations: 103.7 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003495, allocations: 8.656 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.263, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001602/0.2647, allocations: 1.049 MB / 0.8978 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004737/0.2652, allocations: 189 kB / 0.8979 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.2653, allocations: 4 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.2653, allocations: 0 / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.341e-05/0.2654, allocations: 11.92 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.2656, allocations: 4 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.906e-05/0.2657, allocations: 35.86 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2658, allocations: 7.984 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.345e-05/0.2659, allocations: 11.94 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.2659, allocations: 15.92 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.2659, allocations: 0 / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.266, allocations: 0 / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.266, allocations: 3.984 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.266, allocations: 11.94 kB / 0.898 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.258e-05/0.2661, allocations: 28.17 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2661, allocations: 0 / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2661, allocations: 0 / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.2662, allocations: 0 / 0.8981 GB, free: 66.78 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.0004675/0.2666, allocations: 345.2 kB / 0.8984 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.2667, allocations: 8.031 kB / 0.8984 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.2667, allocations: 12.78 kB / 0.8984 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.2668, allocations: 172.2 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.2669, allocations: 4.375 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2669, allocations: 384 / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.267, allocations: 42.25 kB / 0.8986 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.537e-06/0.267, allocations: 192 / 0.8986 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.267, allocations: 7.938 kB / 0.8986 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2671, allocations: 0 / 0.8986 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.235e-05/0.2671, allocations: 12 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.2675, allocations: 253 kB / 0.8989 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.2679, allocations: 106.3 kB / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.2679, allocations: 12.92 kB / 0.899 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.268, allocations: 0 / 0.899 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.2681, allocations: 67.39 kB / 0.8991 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2681, allocations: 0 / 0.8991 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002019/0.2683, allocations: 65.62 kB / 0.8991 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2684, allocations: 51.41 kB / 0.8992 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/0.2684, allocations: 105.8 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.2685, allocations: 25.7 kB / 0.8993 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.2685, allocations: 92.12 kB / 0.8994 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.2685, allocations: 3.906 kB / 0.8994 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.2686, allocations: 17.72 kB / 0.8994 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.2686, allocations: 314.8 kB / 0.8997 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.2686, allocations: 11.98 kB / 0.8997 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.2687, allocations: 21.72 kB / 0.8998 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.571e-05/0.2687, allocations: 25.66 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2687, allocations: 3.938 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.258e-05/0.2688, allocations: 61.59 kB / 0.8998 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2689, allocations: 8.031 kB / 0.8998 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2689, allocations: 4.359 kB / 0.8998 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2689, allocations: 3.938 kB / 0.8999 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.869e-05/0.2689, allocations: 7.984 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.269, allocations: 0 / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.565e-05/0.2691, allocations: 12 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.2691, allocations: 0 / 0.8999 GB, free: 64.7 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 7.401e-05/0.2691, allocations: 117.8 kB / 0.9 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.2692, allocations: 4 kB / 0.9 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.2692, allocations: 15.89 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2692, allocations: 0 / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2692, allocations: 3.938 kB / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2692, allocations: 0 / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.2693, allocations: 169.6 kB / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2694, allocations: 0 / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.619e-05/0.2694, allocations: 0 / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2694, allocations: 4 kB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2694, allocations: 0 / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2694, allocations: 3.938 kB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2694, allocations: 4 kB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.2695, allocations: 84.91 kB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.2696, allocations: 81.11 kB / 0.9003 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.2696, allocations: 7.984 kB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.065e-05/0.2696, allocations: 4 kB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.2697, allocations: 7.984 kB / 0.9004 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.2697, allocations: 4 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.371e-05/0.2697, allocations: 83.28 kB / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2697, allocations: 4 kB / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002062/0.27, allocations: 7.938 kB / 0.9005 GB, free: 64 MB / 0.6042 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.0001386/0.2701, allocations: 100.8 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.2702, allocations: 31.92 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2702, allocations: 0 / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.2703, allocations: 11.98 kB / 0.9006 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.2705, allocations: 20 kB / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.2709, allocations: 161.3 kB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.2711, allocations: 0.677 MB / 0.9014 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.2711, allocations: 11.44 kB / 0.9014 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.623e-06/0.2711, allocations: 0 / 0.9014 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.002119/0.2732, allocations: 0.6658 MB / 0.9021 GB, free: 62.27 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)