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.002437/0.002437, allocations: 80.45 kB / 19.95 MB, free: 4.598 MB / 18.57 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.002857/0.002857, allocations: 173.2 kB / 23.24 MB, free: 1.316 MB / 18.57 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 1.577/1.577, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 178] 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 3.377/3.377, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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 2.274e-06/2.274e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/3.02e-05, allocations: 2.281 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001881/0.001911, allocations: 0.6058 MB / 1.002 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.003664, allocations: 1.14 MB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.003713, allocations: 4 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.003745, allocations: 3.938 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.482e-05/0.00382, allocations: 0 / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.004335, allocations: 130.8 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.004525, allocations: 91.88 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.004611, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.004751, allocations: 55.89 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.004883, allocations: 23.95 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.004912, allocations: 8 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.161e-05/0.004984, allocations: 19.98 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.005008, allocations: 7.938 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.731e-05/0.005075, allocations: 27.97 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.005278, allocations: 95.83 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.005281, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005282, allocations: 4 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.005286, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 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.0005703/0.005856, allocations: 311.8 kB / 1.004 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.0059, allocations: 13.28 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.005953, allocations: 4.938 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.006079, allocations: 113.7 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.006103, allocations: 4.375 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.006135, allocations: 8.375 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.006244, allocations: 34.25 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.006254, allocations: 192 / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.006265, allocations: 4.375 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.006271, allocations: 4.375 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.188e-05/0.006323, allocations: 15.92 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.006756, allocations: 228.5 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.715e-05/0.006833, allocations: 22.58 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.006865, allocations: 16.91 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.006878, allocations: 0 / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.007009, allocations: 55.41 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.00701, allocations: 0 / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002353/0.007245, allocations: 81.69 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.007298, allocations: 55.41 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.007419, allocations: 117.8 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.007449, allocations: 25.7 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.007529, allocations: 88.14 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.007543, allocations: 7.891 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/0.007624, allocations: 33.69 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.007797, allocations: 318.8 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.007905, allocations: 57.69 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.00803, allocations: 84.25 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.008171, allocations: 92.2 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.008173, allocations: 0 / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003083/0.008481, allocations: 181 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/0.008532, allocations: 41.62 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.008548, allocations: 3.984 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.008565, allocations: 0 / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.932e-05/0.008625, allocations: 4 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.00863, allocations: 0 / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.008836, allocations: 35.97 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.008862, allocations: 15.92 kB / 1.005 GB, free: 8.582 MB / 0.9636 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 0.0001132/0.008975, allocations: 113.8 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.008987, allocations: 3.953 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.009021, allocations: 11.94 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.009023, allocations: 0 / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.009027, allocations: 0 / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.00903, allocations: 0 / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.009156, allocations: 109.3 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.009156, allocations: 0 / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.009172, allocations: 4 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.009176, allocations: 4 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.009186, allocations: 3.984 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.00919, allocations: 3.938 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.009191, allocations: 3.938 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.009326, allocations: 89.06 kB / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.009336, allocations: 3.953 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.009353, allocations: 4.062 kB / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.009373, allocations: 7.922 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.009407, allocations: 4 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.009411, allocations: 0 / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.073e-05/0.009482, allocations: 95.27 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.009482, allocations: 0 / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000208/0.00969, allocations: 12 kB / 1.006 GB, free: 8.051 MB / 0.9636 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.0001637/0.009853, allocations: 99.25 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002625/0.01012, allocations: 149 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01012, allocations: 0 / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.597e-05/0.01016, allocations: 12 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.01039, allocations: 16.05 kB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.01074, allocations: 124.9 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.988e-05/0.01082, allocations: 67.34 kB / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.078e-05/0.01084, allocations: 0 / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.01086, allocations: 12.5 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of SimCode: time 4.1e-07/0.01086, allocations: 0 / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of Templates: time 0.004577/0.01544, allocations: 1.177 MB / 1.007 GB, free: 6.363 MB / 0.9636 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: 9.258532979525626]