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.693/1.693, allocations: 285.4 MB / 298 MB, free: 6 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.001105/0.001105, allocations: 192.8 kB / 366.4 MB, free: 2.062 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.813/1.813, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008781/0.000878, allocations: 96.59 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.036e-05/4.04e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7055/0.7056, allocations: 115.3 MB / 0.9709 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.8943, allocations: 138 MB / 1.106 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.8946, allocations: 67.97 kB / 1.106 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0053/0.9, allocations: 1.798 MB / 1.108 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9, allocations: 1.562 kB / 1.108 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.9, allocations: 5.781 kB / 1.108 GB, free: 11.95 MB / 0.7136 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.0003253/0.9003, allocations: 362.7 kB / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.9004, allocations: 9.188 kB / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.9004, allocations: 11.89 kB / 1.108 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.9005, allocations: 173.2 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.9006, allocations: 2.406 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.9006, allocations: 4 kB / 1.108 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.796e-05/0.9007, allocations: 45.62 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.9007, allocations: 0 / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.9007, allocations: 0 / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.9007, allocations: 0 / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.9008, allocations: 9.25 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.9012, allocations: 294 kB / 1.108 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.865e-05/0.9013, allocations: 31.47 kB / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.9013, allocations: 8.922 kB / 1.108 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.9013, allocations: 4.469 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.9014, allocations: 62.52 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.9015, allocations: 0 / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001526/0.9016, allocations: 65.59 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.9017, allocations: 52.81 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.9017, allocations: 97 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.9018, allocations: 30.83 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.9018, allocations: 92.11 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.9019, allocations: 7.906 kB / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-06/0.9019, allocations: 4.812 kB / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.902, allocations: 322.8 kB / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/0.9021, allocations: 28.67 kB / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.121e-05/0.9022, allocations: 48.39 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.864e-05/0.9022, allocations: 57.69 kB / 1.109 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9023, allocations: 0 / 1.109 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002394/0.9025, allocations: 155.1 kB / 1.109 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.9025, allocations: 37.69 kB / 1.109 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9026, allocations: 0.5625 kB / 1.109 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.9026, allocations: 0 / 1.109 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.474e-05/0.9026, allocations: 5.969 kB / 1.109 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.9026, allocations: 2.031 kB / 1.109 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.9028, allocations: 40.03 kB / 1.109 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.9028, allocations: 14.17 kB / 1.11 GB, free: 9.688 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 9.064e-05/0.9029, allocations: 114.4 kB / 1.11 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.903, allocations: 0 / 1.11 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.903, allocations: 12.03 kB / 1.11 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.903, allocations: 0 / 1.11 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.903, allocations: 4 kB / 1.11 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.903, allocations: 0 / 1.11 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.9031, allocations: 165.6 kB / 1.11 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9031, allocations: 0 / 1.11 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.455e-05/0.9032, allocations: 0 / 1.11 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.9032, allocations: 4 kB / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.9032, allocations: 0 / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.9032, allocations: 0 / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.9032, allocations: 0 / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.9033, allocations: 95.88 kB / 1.11 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.9034, allocations: 81.11 kB / 1.11 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.9034, allocations: 3.938 kB / 1.11 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.529e-05/0.9034, allocations: 4 kB / 1.11 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.9034, allocations: 7.109 kB / 1.11 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.9035, allocations: 4 kB / 1.11 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.9035, allocations: 83.28 kB / 1.11 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9035, allocations: 0 / 1.11 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001999/0.9037, allocations: 27.94 kB / 1.11 GB, free: 8.996 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.000155/0.9039, allocations: 115.2 kB / 1.11 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.9041, allocations: 123.3 kB / 1.11 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9041, allocations: 4 kB / 1.11 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.054e-05/0.9041, allocations: 12 kB / 1.11 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.9043, allocations: 8.938 kB / 1.11 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001752/0.9045, allocations: 78.03 kB / 1.11 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.9047, allocations: 0.6889 MB / 1.111 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.91e-05/0.9047, allocations: 4 kB / 1.111 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.9048, allocations: 7.438 kB / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.9048, allocations: 0 / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of Templates: time 0.002712/0.9075, allocations: 0.9855 MB / 1.112 GB, free: 6.969 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)