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.665/2.665, allocations: 285 MB / 292.5 MB, free: 10.58 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.002767/0.002767, allocations: 184.8 kB / 360.7 MB, free: 7.266 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.093/2.093, allocations: 205.3 MB / 0.6192 GB, free: 12.14 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.001062/0.001061, allocations: 94.83 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.001e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8163/0.8163, allocations: 115.2 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3168/1.133, allocations: 137.2 MB / 1.097 GB, free: 3.297 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/1.134, allocations: 72.61 kB / 1.097 GB, free: 3.227 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00907/1.143, allocations: 1.795 MB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.963e-06/1.143, allocations: 0.6562 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.275e-06/1.143, allocations: 4 kB / 1.099 GB, free: 1.469 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.0004703/1.143, allocations: 356.9 kB / 1.1 GB, free: 1.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/1.143, allocations: 8.656 kB / 1.1 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/1.143, allocations: 13.05 kB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/1.144, allocations: 171.6 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/1.144, allocations: 4.625 kB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/1.144, allocations: 4 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.173e-05/1.144, allocations: 4.594 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/1.144, allocations: 42.44 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.144, allocations: 4 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/1.144, allocations: 0.5312 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.144, allocations: 0 / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/1.144, allocations: 266.8 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/1.144, allocations: 27.36 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/1.145, allocations: 12.17 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/1.145, allocations: 1.031 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/1.145, allocations: 63.89 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.023e-06/1.145, allocations: 1.906 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002219/1.145, allocations: 63.97 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/1.145, allocations: 51.41 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/1.145, allocations: 101 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/1.145, allocations: 25.7 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/1.145, allocations: 84.14 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/1.145, allocations: 12.77 kB / 1.101 GB, free: 0 / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/1.145, allocations: 4.047 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.146, allocations: 316.3 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/1.146, allocations: 31.94 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/1.146, allocations: 46.55 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/1.146, allocations: 47.2 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.146, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004946/1.147, allocations: 109.6 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/1.147, allocations: 47.31 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.147, allocations: 3.938 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/1.147, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/1.147, allocations: 4.781 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.147, allocations: 0 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/1.147, allocations: 37.78 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/1.147, allocations: 8 kB / 1.101 GB, free: 15.34 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.0001109/1.147, allocations: 112.9 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/1.147, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/1.147, allocations: 8.344 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/1.147, allocations: 4 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.147, allocations: 0 / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.147, allocations: 3 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/1.148, allocations: 142.2 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.148, allocations: 7.75 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/1.148, allocations: 4 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.148, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/1.148, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/1.148, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.148, allocations: 7.938 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/1.148, allocations: 77.03 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/1.148, allocations: 89.05 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/1.148, allocations: 4 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.364e-05/1.148, allocations: 0 / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/1.148, allocations: 0 / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/1.148, allocations: 7.5 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.027e-05/1.148, allocations: 89.77 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.9e-07/1.148, allocations: 0 / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003494/1.149, allocations: 23.94 kB / 1.102 GB, free: 14.7 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.0001938/1.149, allocations: 107 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002796/1.149, allocations: 127.3 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.149, allocations: 0 / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.736e-05/1.149, allocations: 12 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/1.149, allocations: 7.984 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/1.15, allocations: 70.34 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/1.15, allocations: 0.6846 MB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.604e-05/1.15, allocations: 8.109 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/1.15, allocations: 11.44 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/1.15, allocations: 3.938 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of Templates: time 0.004782/1.155, allocations: 0.9025 MB / 1.104 GB, free: 12.76 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)