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.001394/0.001394, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.001538/0.001538, allocations: 209.7 kB / 23.76 MB, free: 4.727 MB / 14.72 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.9476/0.9476, allocations: 150 MB / 463.9 MB, free: 10.5 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 66.7 kB / 0.6425 GB, free: 9.918 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1936, allocations: 89.18 MB / 0.7296 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001796/0.1954, allocations: 0.5867 MB / 0.7301 GB, free: 220 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1971, allocations: 1.151 MB / 0.7313 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.1972, allocations: 0 / 0.7313 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.1972, allocations: 4 kB / 0.7313 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.175e-05/0.1973, allocations: 7.922 kB / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.1978, allocations: 123.1 kB / 0.7314 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1979, allocations: 91.88 kB / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.198, allocations: 3.938 kB / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.189e-05/0.1981, allocations: 43.91 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1982, allocations: 31.89 kB / 0.7315 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1982, allocations: 8 kB / 0.7316 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.964e-05/0.1983, allocations: 19.98 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.1983, allocations: 12 kB / 0.7316 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.1984, allocations: 27.91 kB / 0.7316 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.1986, allocations: 87.72 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1986, allocations: 0 / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1986, allocations: 4 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.1986, allocations: 0 / 0.7317 GB, free: 14.6 MB / 0.5606 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.0005772/0.1992, allocations: 303.9 kB / 0.732 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1992, allocations: 8.031 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.1992, allocations: 8.891 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1994, allocations: 110.5 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.1994, allocations: 12.36 kB / 0.7321 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.1994, allocations: 12.31 kB / 0.7321 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.99e-05/0.1995, allocations: 34.25 kB / 0.7322 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1995, allocations: 192 / 0.7322 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1995, allocations: 15.92 kB / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1995, allocations: 0 / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.1996, allocations: 8 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.2, allocations: 260 kB / 0.7324 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.2001, allocations: 38.39 kB / 0.7325 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.2001, allocations: 12.92 kB / 0.7325 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.2001, allocations: 0 / 0.7325 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.2003, allocations: 63.34 kB / 0.7325 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2003, allocations: 0 / 0.7325 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002215/0.2005, allocations: 73.61 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.2006, allocations: 59.41 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.2007, allocations: 105.8 kB / 0.7328 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.2007, allocations: 25.7 kB / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.2008, allocations: 92.09 kB / 0.7329 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.2008, allocations: 11.94 kB / 0.7329 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.2009, allocations: 33.7 kB / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.201, allocations: 318.8 kB / 0.7332 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.2011, allocations: 27.98 kB / 0.7333 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.712e-05/0.2012, allocations: 54.56 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.2013, allocations: 84.2 kB / 0.7334 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2013, allocations: 3.938 kB / 0.7334 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002638/0.2016, allocations: 147.3 kB / 0.7335 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.2016, allocations: 41.69 kB / 0.7336 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2016, allocations: 4.062 kB / 0.7336 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2016, allocations: 0 / 0.7336 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.2017, allocations: 4 kB / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2017, allocations: 3.938 kB / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.2019, allocations: 23.97 kB / 0.7336 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.2019, allocations: 4 kB / 0.7336 GB, free: 12.4 MB / 0.5606 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.0001038/0.202, allocations: 129.8 kB / 0.7337 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.2021, allocations: 7.953 kB / 0.7337 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.2021, allocations: 15.94 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2021, allocations: 0 / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2021, allocations: 0 / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2021, allocations: 0 / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.2022, allocations: 136.7 kB / 0.7339 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2022, allocations: 0 / 0.7339 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.2023, allocations: 4.062 kB / 0.7339 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2023, allocations: 4 kB / 0.7339 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.2023, allocations: 0 / 0.7339 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2023, allocations: 0 / 0.7339 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2023, allocations: 4 kB / 0.7339 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.2024, allocations: 92.98 kB / 0.734 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.2024, allocations: 7.953 kB / 0.734 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.2024, allocations: 0 / 0.734 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.355e-05/0.2024, allocations: 0 / 0.734 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.2025, allocations: 0 / 0.734 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.2025, allocations: 8.266 kB / 0.734 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.303e-05/0.2025, allocations: 91.61 kB / 0.7341 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2025, allocations: 0 / 0.7341 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002169/0.2028, allocations: 19.94 kB / 0.7341 GB, free: 11.81 MB / 0.5606 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.0001514/0.2029, allocations: 99.47 kB / 0.7342 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.2031, allocations: 115.4 kB / 0.7343 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2031, allocations: 0 / 0.7343 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.2032, allocations: 11.94 kB / 0.7343 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.2034, allocations: 28.03 kB / 0.7344 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.2037, allocations: 143.9 kB / 0.7345 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.2041, allocations: 0.6807 MB / 0.7352 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.2042, allocations: 7.438 kB / 0.7352 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/0.2042, allocations: 4 kB / 0.7352 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of Templates: time 0.003048/0.2072, allocations: 0.9339 MB / 0.7361 GB, free: 9.723 MB / 0.5606 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.967409170931205] Failed to read output from testmodel.py, exit status != 0: 0.21563047589734197 0.23069063299999995 0.02903010999999994 Calling exit ...