Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.639/2.639, allocations: 284.8 MB / 297.3 MB, free: 6.305 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 184.1 kB / 365.7 MB, free: 2.551 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.1 MB / 0.6241 GB, free: 8.16 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 98.62 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.599e-05/4.617e-05, allocations: 4 kB / 0.8574 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8147, allocations: 115.2 MB / 0.97 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2391/1.054, allocations: 137.8 MB / 1.105 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/1.054, allocations: 73.36 kB / 1.105 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00974/1.064, allocations: 1.795 MB / 1.106 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.589e-06/1.064, allocations: 6.359 kB / 1.106 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.029e-05/1.064, allocations: 4 kB / 1.106 GB, free: 12.71 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.0004908/1.065, allocations: 361 kB / 1.107 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/1.065, allocations: 8.031 kB / 1.107 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/1.065, allocations: 13.05 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/1.065, allocations: 169.8 kB / 1.107 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/1.065, allocations: 3.984 kB / 1.107 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/1.065, allocations: 11.98 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/1.065, allocations: 38.45 kB / 1.107 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.065, allocations: 0.7188 kB / 1.107 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.065, allocations: 0 / 1.107 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.065, allocations: 5.328 kB / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/1.065, allocations: 12 kB / 1.107 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/1.066, allocations: 286.7 kB / 1.107 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.791e-05/1.066, allocations: 26.58 kB / 1.107 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/1.066, allocations: 17.41 kB / 1.107 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/1.066, allocations: 4.875 kB / 1.107 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/1.066, allocations: 57.28 kB / 1.107 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/1.066, allocations: 4 kB / 1.107 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002648/1.067, allocations: 61.59 kB / 1.107 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/1.067, allocations: 51.41 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/1.067, allocations: 102.6 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/1.067, allocations: 34.05 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/1.067, allocations: 84.12 kB / 1.108 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/1.067, allocations: 12.41 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/1.067, allocations: 6.312 kB / 1.108 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.067, allocations: 326.8 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/1.067, allocations: 24 kB / 1.108 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/1.068, allocations: 50.56 kB / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/1.068, allocations: 59.56 kB / 1.108 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.068, allocations: 0 / 1.108 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005352/1.068, allocations: 147.2 kB / 1.108 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/1.068, allocations: 38.8 kB / 1.108 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/1.068, allocations: 6.047 kB / 1.108 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/1.068, allocations: 3.984 kB / 1.108 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/1.069, allocations: 4 kB / 1.108 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.069, allocations: 0 / 1.108 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/1.069, allocations: 40.03 kB / 1.108 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/1.069, allocations: 4 kB / 1.108 GB, free: 10.46 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 0.0001347/1.069, allocations: 116.9 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/1.069, allocations: 0 / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/1.069, allocations: 16.02 kB / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.069, allocations: 0 / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.069, allocations: 0.625 kB / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.069, allocations: 0 / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/1.07, allocations: 169.6 kB / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.07, allocations: 0 / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/1.07, allocations: 3 kB / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/1.07, allocations: 4 kB / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/1.07, allocations: 0 / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.07, allocations: 0 / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.07, allocations: 0 / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/1.07, allocations: 89.08 kB / 1.109 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/1.07, allocations: 89.12 kB / 1.109 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/1.07, allocations: 3.938 kB / 1.109 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.842e-05/1.07, allocations: 1.875 kB / 1.109 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/1.07, allocations: 4 kB / 1.109 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/1.07, allocations: 4 kB / 1.109 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.093e-05/1.07, allocations: 83.27 kB / 1.109 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.71e-07/1.07, allocations: 4 kB / 1.109 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000523/1.071, allocations: 31.94 kB / 1.109 GB, free: 9.75 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.0002404/1.071, allocations: 103.2 kB / 1.109 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004477/1.072, allocations: 127.3 kB / 1.109 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.072, allocations: 0 / 1.109 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/1.072, allocations: 19.98 kB / 1.109 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/1.072, allocations: 9.609 kB / 1.109 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/1.072, allocations: 81.7 kB / 1.109 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/1.073, allocations: 0.6848 MB / 1.11 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.545e-05/1.073, allocations: 0 / 1.11 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/1.073, allocations: 11.44 kB / 1.11 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of SimCode: time 9.91e-07/1.073, allocations: 0 / 1.11 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of Templates: time 0.006048/1.079, allocations: 0.9846 MB / 1.111 GB, free: 7.727 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)