Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.592/1.592, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.0009825/0.0009825, allocations: 180.9 kB / 366.7 MB, free: 1.703 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.383/1.383, allocations: 205.3 MB / 0.626 GB, free: 7.184 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.0008492/0.0008491, allocations: 92.48 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.042e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7929/0.7929, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/1.008, allocations: 138.3 MB / 1.108 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.008, allocations: 72.45 kB / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005805/1.014, allocations: 1.797 MB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.333e-06/1.014, allocations: 3.938 kB / 1.11 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.315e-06/1.014, allocations: 1.125 kB / 1.11 GB, free: 10.08 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.0004568/1.014, allocations: 360.2 kB / 1.111 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/1.014, allocations: 9.156 kB / 1.111 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/1.014, allocations: 11.84 kB / 1.111 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/1.015, allocations: 167 kB / 1.111 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/1.015, allocations: 1.469 kB / 1.111 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/1.015, allocations: 4 kB / 1.111 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.923e-05/1.015, allocations: 11.98 kB / 1.111 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.613e-05/1.015, allocations: 35.45 kB / 1.111 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.015, allocations: 0 / 1.111 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/1.015, allocations: 0 / 1.111 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/1.015, allocations: 3.938 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/1.015, allocations: 276 kB / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.78e-05/1.015, allocations: 22.58 kB / 1.111 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/1.016, allocations: 15.48 kB / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/1.016, allocations: 1.062 kB / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/1.016, allocations: 60.7 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/1.016, allocations: 0 / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002138/1.016, allocations: 61.53 kB / 1.111 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/1.016, allocations: 52.69 kB / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/1.016, allocations: 97 kB / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/1.016, allocations: 29.7 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/1.016, allocations: 93.02 kB / 1.111 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/1.016, allocations: 7.906 kB / 1.111 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/1.016, allocations: 0.5 kB / 1.111 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.016, allocations: 319.6 kB / 1.112 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/1.016, allocations: 29.39 kB / 1.112 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/1.017, allocations: 42.58 kB / 1.112 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/1.017, allocations: 37.06 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.017, allocations: 5.219 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003219/1.017, allocations: 121.5 kB / 1.112 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/1.017, allocations: 33.7 kB / 1.112 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.017, allocations: 3.938 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.017, allocations: 3.984 kB / 1.112 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.507e-05/1.017, allocations: 4 kB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.017, allocations: 6.438 kB / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/1.017, allocations: 44.59 kB / 1.112 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/1.017, allocations: 4 kB / 1.112 GB, free: 7.945 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.0001113/1.018, allocations: 112.2 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/1.018, allocations: 0 / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/1.018, allocations: 12.33 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/1.018, allocations: 0 / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.018, allocations: 4 kB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.018, allocations: 2.75 kB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/1.018, allocations: 142.2 kB / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.018, allocations: 96 / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.097e-05/1.018, allocations: 7.938 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/1.018, allocations: 3.984 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/1.018, allocations: 4 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.018, allocations: 0 / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.018, allocations: 0 / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/1.018, allocations: 88.97 kB / 1.112 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/1.018, allocations: 77.11 kB / 1.112 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/1.018, allocations: 3.953 kB / 1.112 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.737e-05/1.018, allocations: 3.984 kB / 1.113 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/1.018, allocations: 4 kB / 1.113 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/1.018, allocations: 0 / 1.113 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.114e-05/1.018, allocations: 83.28 kB / 1.113 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.8e-07/1.018, allocations: 0 / 1.113 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002233/1.019, allocations: 31.92 kB / 1.113 GB, free: 7.293 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.0001761/1.019, allocations: 107.2 kB / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002064/1.019, allocations: 123.3 kB / 1.113 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.019, allocations: 0 / 1.113 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/1.019, allocations: 12 kB / 1.113 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/1.019, allocations: 10.05 kB / 1.113 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/1.019, allocations: 70.56 kB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/1.02, allocations: 0.6847 MB / 1.114 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.09e-05/1.02, allocations: 4 kB / 1.114 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/1.02, allocations: 7.438 kB / 1.114 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of SimCode: time 6.22e-07/1.02, allocations: 0 / 1.114 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of Templates: time 0.003508/1.023, allocations: 0.9089 MB / 1.114 GB, free: 5.348 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)