Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009583/0.0009583, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00203/0.002989, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.002586, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9963/0.9963, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1011/1.097, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.975/1.975, allocations: 390.1 MB / 0.6194 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5306/2.505, allocations: 127.1 MB / 0.7435 GB, free: 4.512 MB / 0.7136 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 0 / 0.7448 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.674e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002428/0.002455, allocations: 0.6652 MB / 0.7454 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.003865, allocations: 1.153 MB / 0.7466 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.003905, allocations: 2.281 kB / 0.7466 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.003931, allocations: 1.094 kB / 0.7466 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.76e-05/0.003979, allocations: 13.88 kB / 0.7466 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.004354, allocations: 119.6 kB / 0.7467 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.004537, allocations: 94.19 kB / 0.7468 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.937e-05/0.004616, allocations: 4.656 kB / 0.7468 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.004743, allocations: 58.12 kB / 0.7468 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.004845, allocations: 20.95 kB / 0.7469 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.004869, allocations: 8 kB / 0.7469 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.97e-05/0.004959, allocations: 25.52 kB / 0.7469 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.004984, allocations: 5.188 kB / 0.7469 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.005026, allocations: 18.25 kB / 0.7469 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.005178, allocations: 57.73 kB / 0.747 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.005192, allocations: 1.5 kB / 0.747 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005194, allocations: 0 / 0.747 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.005209, allocations: 0 / 0.747 GB, free: 1.039 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.0004625/0.005671, allocations: 291.4 kB / 0.7472 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.005711, allocations: 9.156 kB / 0.7472 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.005757, allocations: 8.922 kB / 0.7473 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.666e-05/0.005854, allocations: 109.8 kB / 0.7474 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.005874, allocations: 5.438 kB / 0.7474 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.005895, allocations: 4.375 kB / 0.7474 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.074e-05/0.005986, allocations: 50.95 kB / 0.7474 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.005996, allocations: 5.203 kB / 0.7474 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.006004, allocations: 4.375 kB / 0.7474 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.006011, allocations: 4.375 kB / 0.7474 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.006033, allocations: 12.67 kB / 0.7474 GB, free: 496 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.006284, allocations: 156.8 kB / 0.7476 GB, free: 324 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.673e-05/0.006341, allocations: 23.42 kB / 0.7476 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.006361, allocations: 16.2 kB / 0.7476 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.006367, allocations: 0 / 0.7476 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.006469, allocations: 59.31 kB / 0.7477 GB, free: 204 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.00647, allocations: 0.7656 kB / 0.7477 GB, free: 204 kB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001361/0.006606, allocations: 53.62 kB / 0.7477 GB, free: 144 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.00664, allocations: 51.41 kB / 0.7478 GB, free: 80 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.006732, allocations: 114.7 kB / 0.7479 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.006753, allocations: 29.7 kB / 0.7479 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.006796, allocations: 88.12 kB / 0.748 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.00681, allocations: 16.16 kB / 0.748 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.006867, allocations: 29.7 kB / 0.7481 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.006954, allocations: 314.8 kB / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.007019, allocations: 49.69 kB / 0.7484 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.007085, allocations: 76.19 kB / 0.7485 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.082e-05/0.007166, allocations: 76.23 kB / 0.7485 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007168, allocations: 0.6562 kB / 0.7485 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001671/0.007336, allocations: 151.8 kB / 0.7487 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.007381, allocations: 35.72 kB / 0.7487 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.007388, allocations: 4 kB / 0.7487 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.007403, allocations: 3.938 kB / 0.7487 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.007453, allocations: 7.938 kB / 0.7487 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.007456, allocations: 0.7656 kB / 0.7487 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.0076, allocations: 23.25 kB / 0.7488 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.007619, allocations: 11.98 kB / 0.7488 GB, free: 14.98 MB / 0.7292 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,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.007691, allocations: 109.8 kB / 0.7489 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.007703, allocations: 4 kB / 0.7489 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.007726, allocations: 8 kB / 0.7489 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007729, allocations: 3.938 kB / 0.7489 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.007731, allocations: 4.656 kB / 0.7489 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.007736, allocations: 3.984 kB / 0.7489 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.579e-05/0.007812, allocations: 64.66 kB / 0.749 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007814, allocations: 0 / 0.749 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.007835, allocations: 8.062 kB / 0.749 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.007841, allocations: 3.984 kB / 0.749 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.007844, allocations: 4.875 kB / 0.749 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.007849, allocations: 0 / 0.749 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.007851, allocations: 0 / 0.749 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.007853, allocations: 3.938 kB / 0.749 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.949e-05/0.007943, allocations: 76.11 kB / 0.7491 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.007953, allocations: 0 / 0.7491 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.642e-05/0.007969, allocations: 3.984 kB / 0.7491 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.007992, allocations: 8.031 kB / 0.7491 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.007997, allocations: 9.75 kB / 0.7491 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.95e-05/0.008016, allocations: 13.23 kB / 0.7491 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.008017, allocations: 0 / 0.7491 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001846/0.008201, allocations: 17 kB / 0.7491 GB, free: 14.6 MB / 0.7292 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001369/0.008338, allocations: 81.25 kB / 0.7492 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.008517, allocations: 147.8 kB / 0.7493 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.008521, allocations: 1.047 kB / 0.7493 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.008545, allocations: 20.78 kB / 0.7493 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.008697, allocations: 64.27 kB / 0.7494 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.00919, allocations: 137.9 kB / 0.7495 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.009225, allocations: 59.34 kB / 0.7496 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.009247, allocations: 0 / 0.7496 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.419e-05/0.009331, allocations: 63.36 kB / 0.7497 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of SimCode: time 9.02e-07/0.009332, allocations: 0.6562 kB / 0.7497 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.003743/0.01308, allocations: 1.31 MB / 0.7509 GB, free: 12.72 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.041056009940803]