Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 172.9 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009457/0.0009455, allocations: 92.27 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.933e-05, allocations: 4 kB / 0.8518 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7235/0.7235, allocations: 115.3 MB / 0.9644 GB, free: 78.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1875/0.9111, allocations: 137.4 MB / 1.099 GB, free: 2.457 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.9114, allocations: 72.52 kB / 1.099 GB, free: 2.387 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005246/0.9167, allocations: 1.792 MB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9167, allocations: 0.6562 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.9167, allocations: 0 / 1.1 GB, free: 0.6367 MB / 0.698 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.0003699/0.9171, allocations: 361.3 kB / 1.101 GB, free: 240 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.9172, allocations: 12.03 kB / 1.101 GB, free: 228 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.9172, allocations: 9.438 kB / 1.101 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.9174, allocations: 172.8 kB / 1.101 GB, free: 8 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.9174, allocations: 0 / 1.101 GB, free: 8 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.9174, allocations: 9.469 kB / 1.101 GB, free: 0 / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.646e-05/0.9175, allocations: 8.078 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.783e-05/0.9176, allocations: 37.62 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.9176, allocations: 0 / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.9176, allocations: 0.5625 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.9176, allocations: 0.5938 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.918, allocations: 270.8 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.135e-05/0.918, allocations: 27.67 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.9181, allocations: 15.98 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.9181, allocations: 0.5 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.9182, allocations: 62.66 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.9182, allocations: 4 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001617/0.9184, allocations: 53.59 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.9184, allocations: 56.53 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.9185, allocations: 99.88 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.9186, allocations: 30.86 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.9186, allocations: 88.14 kB / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.227e-06/0.9186, allocations: 4.406 kB / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.9187, allocations: 3.031 kB / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.9188, allocations: 326.8 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.9188, allocations: 24 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.9189, allocations: 47.34 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.9191, allocations: 35.69 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9191, allocations: 7.875 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002761/0.9194, allocations: 119.6 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.9194, allocations: 33.69 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9194, allocations: 4 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.9195, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.9195, allocations: 7.938 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.9195, allocations: 2 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.9197, allocations: 36.03 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.9197, allocations: 13.2 kB / 1.102 GB, free: 14.5 MB / 0.7136 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,booToInt.y,$PRE.booPul.y,booPul.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.468e-05/0.9198, allocations: 108.9 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.9198, allocations: 4 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.9199, allocations: 4.344 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.9199, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.9199, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.9199, allocations: 6.203 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.92, allocations: 142.2 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.92, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.92, allocations: 11.17 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.92, allocations: 0 / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.92, allocations: 0 / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9201, allocations: 0 / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9201, allocations: 0 / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.9202, allocations: 84.97 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.9202, allocations: 81.09 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.9202, allocations: 11.95 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.42e-05/0.9203, allocations: 0 / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.9203, allocations: 7.188 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.9203, allocations: 4 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.692e-05/0.9204, allocations: 83.27 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9204, allocations: 0 / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002026/0.9206, allocations: 23.94 kB / 1.103 GB, free: 13.86 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.9207, allocations: 114.9 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.9209, allocations: 127.3 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9209, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.425e-05/0.921, allocations: 15.98 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.9211, allocations: 4 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001845/0.9213, allocations: 66.34 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.9216, allocations: 0.6846 MB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.9216, allocations: 8.125 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.9216, allocations: 11.44 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.9216, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.002722/0.9244, allocations: 0.9077 MB / 1.105 GB, free: 11.93 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)