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.001305/0.001305, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001475/0.001475, allocations: 207 kB / 23.74 MB, free: 4.543 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.9945/0.9945, allocations: 149.9 MB / 463.8 MB, free: 10.39 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.002148/0.002148, allocations: 67.81 kB / 0.6423 GB, free: 9.684 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1728, allocations: 89.18 MB / 0.7294 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001858/0.1746, allocations: 0.573 MB / 0.7299 GB, free: 0 / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.1762, allocations: 1.128 MB / 0.731 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.1762, allocations: 7.938 kB / 0.731 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.1762, allocations: 0 / 0.731 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.1763, allocations: 11.92 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.1768, allocations: 120.9 kB / 0.7312 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1769, allocations: 91.81 kB / 0.7313 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.842e-05/0.177, allocations: 7.984 kB / 0.7313 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.984e-05/0.1771, allocations: 35.92 kB / 0.7313 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.1772, allocations: 23.95 kB / 0.7313 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.1772, allocations: 8 kB / 0.7313 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.1773, allocations: 24 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.1773, allocations: 11.91 kB / 0.7314 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.1774, allocations: 31.92 kB / 0.7314 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1776, allocations: 83.72 kB / 0.7315 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.1776, allocations: 4 kB / 0.7315 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.234e-06/0.1776, allocations: 0 / 0.7315 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.1776, allocations: 0 / 0.7315 GB, free: 14.41 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.000548/0.1781, allocations: 296 kB / 0.7318 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.1782, allocations: 12.03 kB / 0.7318 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.1782, allocations: 8.891 kB / 0.7318 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1784, allocations: 114.5 kB / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.1784, allocations: 8.375 kB / 0.7319 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.1784, allocations: 4.375 kB / 0.7319 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1785, allocations: 42.25 kB / 0.7319 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1785, allocations: 192 / 0.7319 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1786, allocations: 3.938 kB / 0.7319 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1786, allocations: 3.984 kB / 0.7319 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.607e-05/0.1786, allocations: 4 kB / 0.7319 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.179, allocations: 228.5 kB / 0.7322 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.335e-05/0.1791, allocations: 34.5 kB / 0.7322 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.1791, allocations: 16.86 kB / 0.7322 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.1792, allocations: 7.922 kB / 0.7322 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.1793, allocations: 67.34 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1793, allocations: 0 / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001991/0.1795, allocations: 69.62 kB / 0.7324 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.1796, allocations: 55.41 kB / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.1797, allocations: 109.8 kB / 0.7325 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.1797, allocations: 29.7 kB / 0.7325 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.1798, allocations: 92.08 kB / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.1798, allocations: 7.953 kB / 0.7326 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.1799, allocations: 33.7 kB / 0.7327 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.18, allocations: 318.8 kB / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1801, allocations: 65.67 kB / 0.733 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1802, allocations: 76.27 kB / 0.7331 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1803, allocations: 84.2 kB / 0.7332 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1803, allocations: 7.938 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002867/0.1806, allocations: 184.9 kB / 0.7334 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.1807, allocations: 33.7 kB / 0.7334 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1807, allocations: 4 kB / 0.7334 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1807, allocations: 4.062 kB / 0.7334 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.952e-05/0.1807, allocations: 0 / 0.7334 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1807, allocations: 7.984 kB / 0.7334 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.1809, allocations: 23.97 kB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.181, allocations: 4 kB / 0.7334 GB, free: 12.15 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 9.978e-05/0.1811, allocations: 117.8 kB / 0.7336 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.1811, allocations: 11.89 kB / 0.7336 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.1811, allocations: 8 kB / 0.7336 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1811, allocations: 7.984 kB / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1811, allocations: 0 / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1811, allocations: 4 kB / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.948e-05/0.1812, allocations: 105.3 kB / 0.7337 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1812, allocations: 0 / 0.7337 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.1812, allocations: 7.938 kB / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1812, allocations: 0 / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1812, allocations: 0 / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1812, allocations: 0 / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.1812, allocations: 4.062 kB / 0.7337 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.1814, allocations: 81.12 kB / 0.7338 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.1814, allocations: 19.81 kB / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.1814, allocations: 11.94 kB / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.4e-05/0.1814, allocations: 0 / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.1814, allocations: 0 / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1814, allocations: 4 kB / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.504e-05/0.1815, allocations: 87.27 kB / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1815, allocations: 0 / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000215/0.1817, allocations: 19.94 kB / 0.7339 GB, free: 11.61 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.0001242/0.1818, allocations: 99.23 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.1821, allocations: 145 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1821, allocations: 4 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.1821, allocations: 12 kB / 0.7342 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.1823, allocations: 13.95 kB / 0.7342 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.1826, allocations: 156.3 kB / 0.7343 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.926e-05/0.1827, allocations: 71.33 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.1827, allocations: 7.438 kB / 0.7344 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.1827, allocations: 128 / 0.7344 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.002687/0.1854, allocations: 0.9435 MB / 0.7353 GB, free: 10.09 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.829687580931932] Failed to read output from testmodel.py, exit status != 0: 0.1937119998037815 0.208518312 0.027815000000000003 Calling exit ...