Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001389/0.001389, allocations: 76.94 kB / 20.72 MB, free: 3.758 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.001598/0.001598, allocations: 169 kB / 24.14 MB, free: 348 kB / 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 0.9391/0.9391, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6052/0.6052, allocations: 115 MB / 376 MB, free: 7.473 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 428.7 MB, free: 2.809 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.089e-05, allocations: 2.312 kB / 428.7 MB, free: 2.805 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00145/0.001471, allocations: 0.6022 MB / 429.3 MB, free: 2.203 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.00246, allocations: 1.158 MB / 430.5 MB, free: 1.031 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.002501, allocations: 4 kB / 430.5 MB, free: 1.027 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.002527, allocations: 3.938 kB / 430.5 MB, free: 1.023 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.24e-05/0.002589, allocations: 3.938 kB / 430.5 MB, free: 1.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.002998, allocations: 127.6 kB / 430.6 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.003136, allocations: 91.83 kB / 430.7 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.091e-05/0.003196, allocations: 4 kB / 430.7 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.224e-05/0.003289, allocations: 47.94 kB / 430.7 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.00337, allocations: 27.97 kB / 430.8 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.003389, allocations: 4 kB / 430.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.001e-05/0.003449, allocations: 19.98 kB / 430.8 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.003468, allocations: 11.92 kB / 430.8 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.0035, allocations: 23.98 kB / 430.8 MB, free: 0.668 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.003607, allocations: 83.77 kB / 430.9 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.003609, allocations: 0 / 430.9 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.00361, allocations: 3.938 kB / 430.9 MB, free: 0.582 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.003613, allocations: 0 / 430.9 MB, free: 0.582 MB / 394.7 MB 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.000281/0.003894, allocations: 270.6 kB / 431.2 MB, free: 292 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.003922, allocations: 12.03 kB / 431.2 MB, free: 280 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.003951, allocations: 8.922 kB / 431.2 MB, free: 272 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.421e-05/0.004015, allocations: 109.8 kB / 431.3 MB, free: 136 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.004032, allocations: 8.359 kB / 431.3 MB, free: 128 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.004045, allocations: 4.375 kB / 431.3 MB, free: 124 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.895e-05/0.004104, allocations: 46.95 kB / 431.4 MB, free: 68 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.00411, allocations: 4.188 kB / 431.4 MB, free: 64 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.004117, allocations: 4.359 kB / 431.4 MB, free: 60 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.004122, allocations: 384 / 431.4 MB, free: 60 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.501e-05/0.004137, allocations: 11.88 kB / 431.4 MB, free: 48 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.00436, allocations: 164.2 kB / 431.5 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.731e-05/0.004397, allocations: 26.56 kB / 431.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.028e-05/0.004408, allocations: 4.859 kB / 431.6 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-06/0.004412, allocations: 0 / 431.6 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.525e-05/0.004478, allocations: 63.39 kB / 431.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.004478, allocations: 0 / 431.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 9.225e-05/0.004571, allocations: 57.61 kB / 431.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.004596, allocations: 55.41 kB / 431.7 MB, free: 15.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.577e-05/0.004652, allocations: 110.7 kB / 431.8 MB, free: 15.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.004666, allocations: 25.7 kB / 431.9 MB, free: 15.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.004699, allocations: 88.12 kB / 432 MB, free: 15.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.004709, allocations: 11.95 kB / 432 MB, free: 15.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.004748, allocations: 25.69 kB / 432 MB, free: 15.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.004948, allocations: 318.8 kB / 432.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-05/0.004989, allocations: 53.62 kB / 432.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.005037, allocations: 76.56 kB / 432.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.644e-05/0.005093, allocations: 76.25 kB / 432.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.005096, allocations: 0 / 432.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001171/0.005213, allocations: 141 kB / 432.6 MB, free: 14.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.005244, allocations: 41.69 kB / 432.7 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.005249, allocations: 3.938 kB / 432.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.00526, allocations: 11.88 kB / 432.7 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.76e-05/0.005298, allocations: 0 / 432.7 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.005302, allocations: 4.078 kB / 432.7 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.005394, allocations: 24 kB / 432.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.005407, allocations: 11.97 kB / 432.7 MB, free: 14.52 MB / 410.7 MB 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 5.62e-05/0.005463, allocations: 113.8 kB / 432.9 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-06/0.00547, allocations: 4 kB / 432.9 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.005495, allocations: 4 kB / 432.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.005499, allocations: 7.922 kB / 432.9 MB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005501, allocations: 0 / 432.9 MB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005504, allocations: 0 / 432.9 MB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.486e-05/0.005559, allocations: 69.89 kB / 432.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.00556, allocations: 4 kB / 432.9 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-06/0.005567, allocations: 0 / 432.9 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.005569, allocations: 7.984 kB / 432.9 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-06/0.005573, allocations: 240 / 432.9 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.005574, allocations: 0 / 432.9 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.005575, allocations: 3.938 kB / 432.9 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.637e-05/0.005631, allocations: 77.05 kB / 433 MB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-06/0.005636, allocations: 0 / 433 MB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.005646, allocations: 8.047 kB / 433 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-06/0.005653, allocations: 4 kB / 433 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.00567, allocations: 0 / 433 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.005673, allocations: 7.938 kB / 433 MB, free: 14.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.486e-05/0.005688, allocations: 16.84 kB / 433.1 MB, free: 14.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005688, allocations: 0 / 433.1 MB, free: 14.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001078/0.005796, allocations: 16 kB / 433.1 MB, free: 14.13 MB / 410.7 MB 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 9.226e-05/0.005888, allocations: 88.34 kB / 433.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.005995, allocations: 133.9 kB / 433.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.005997, allocations: 0 / 433.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.481e-05/0.006012, allocations: 16.84 kB / 433.3 MB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.922e-05/0.006101, allocations: 15.73 kB / 433.3 MB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/0.006278, allocations: 136.5 kB / 433.5 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.532e-05/0.006303, allocations: 59.3 kB / 433.5 MB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.354e-05/0.006316, allocations: 0 / 433.5 MB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.006378, allocations: 71.28 kB / 433.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.006379, allocations: 0 / 433.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of Templates: time 0.002575/0.008954, allocations: 1.285 MB / 434.9 MB, free: 12.26 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3191063022240996]