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.001086/0.001086, allocations: 88.22 kB / 20.42 MB, free: 4.137 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.001206/0.001206, allocations: 169 kB / 23.8 MB, free: 0.7617 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 0.9829/0.9829, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.661/0.661, allocations: 115 MB / 375.7 MB, free: 7.629 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 2.785e-06/2.785e-06, allocations: 0 / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.466e-05, allocations: 5.266 kB / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00112/0.001145, allocations: 0.5993 MB / 482.1 MB, free: 11.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002164, allocations: 1.167 MB / 483.2 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.002201, allocations: 2.156 kB / 483.2 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.002227, allocations: 0.5 kB / 483.2 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.003e-05/0.002287, allocations: 10.41 kB / 483.3 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.00266, allocations: 124.1 kB / 483.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.002781, allocations: 92.75 kB / 483.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.074e-05/0.002862, allocations: 2.219 kB / 483.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.7e-05/0.002939, allocations: 48.88 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/0.003016, allocations: 26.62 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.003038, allocations: 9.375 kB / 483.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.784e-05/0.003096, allocations: 17.42 kB / 483.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.003114, allocations: 9.531 kB / 483.6 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.00316, allocations: 28.92 kB / 483.6 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.003288, allocations: 71.11 kB / 483.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.003291, allocations: 1.812 kB / 483.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.003292, allocations: 0 / 483.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.003296, allocations: 1.312 kB / 483.7 MB, free: 10.59 MB / 410.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.0003232/0.003619, allocations: 407.8 kB / 484.1 MB, free: 10.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.003656, allocations: 13.28 kB / 484.1 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.003704, allocations: 10.86 kB / 484.1 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.108e-05/0.003765, allocations: 110.5 kB / 484.2 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.003783, allocations: 9.406 kB / 484.2 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.003801, allocations: 5.375 kB / 484.2 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.69e-05/0.003878, allocations: 46.73 kB / 484.3 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.003886, allocations: 4.172 kB / 484.3 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.003895, allocations: 3.219 kB / 484.3 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.003902, allocations: 384 / 484.3 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.301e-05/0.003925, allocations: 11 kB / 484.3 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.004192, allocations: 287.5 kB / 484.6 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.338e-05/0.004236, allocations: 29.03 kB / 484.6 MB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.004254, allocations: 13.86 kB / 484.6 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.00426, allocations: 1.125 kB / 484.6 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.136e-05/0.004332, allocations: 63.92 kB / 484.7 MB, free: 9.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.004333, allocations: 0.5625 kB / 484.7 MB, free: 9.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001549/0.004488, allocations: 69.58 kB / 484.7 MB, free: 9.547 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.004513, allocations: 53.72 kB / 484.8 MB, free: 9.484 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.004569, allocations: 165.5 kB / 485 MB, free: 9.316 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.004582, allocations: 32.02 kB / 485 MB, free: 9.281 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.004613, allocations: 134.4 kB / 485.1 MB, free: 9.148 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.004624, allocations: 17.28 kB / 485.1 MB, free: 9.137 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.004666, allocations: 35.78 kB / 485.2 MB, free: 9.109 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.004901, allocations: 494 kB / 485.7 MB, free: 24.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-05/0.004965, allocations: 57.86 kB / 485.7 MB, free: 24.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.729e-05/0.005022, allocations: 89.81 kB / 485.8 MB, free: 24.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.894e-05/0.005091, allocations: 86.42 kB / 485.9 MB, free: 24.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005093, allocations: 2.188 kB / 485.9 MB, free: 24.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.005261, allocations: 173.6 kB / 486.1 MB, free: 24.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.005287, allocations: 48.3 kB / 486.1 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.005291, allocations: 0 / 486.1 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.005306, allocations: 1.406 kB / 486.1 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.671e-05/0.005353, allocations: 3.719 kB / 486.1 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.005359, allocations: 8.875 kB / 486.1 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.005479, allocations: 32.64 kB / 486.1 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.005492, allocations: 4.938 kB / 486.2 MB, free: 24.25 MB / 426.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 6.318e-05/0.005555, allocations: 161.1 kB / 486.3 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.005564, allocations: 8.594 kB / 486.3 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.005587, allocations: 8.875 kB / 486.3 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.005589, allocations: 0.6875 kB / 486.3 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.005592, allocations: 0.9375 kB / 486.3 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005595, allocations: 1.031 kB / 486.3 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.378e-05/0.005649, allocations: 118.5 kB / 486.4 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.00565, allocations: 0 / 486.4 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.00566, allocations: 6.688 kB / 486.5 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.005662, allocations: 0.875 kB / 486.5 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.005667, allocations: 1.094 kB / 486.5 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.005668, allocations: 4.562 kB / 486.5 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005669, allocations: 2.375 kB / 486.5 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.576e-05/0.005745, allocations: 101.2 kB / 486.6 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-06/0.005751, allocations: 1.594 kB / 486.6 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.00576, allocations: 1.188 kB / 486.6 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.005769, allocations: 4.906 kB / 486.6 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.005795, allocations: 8.531 kB / 486.6 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.005799, allocations: 3.344 kB / 486.6 MB, free: 23.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.737e-05/0.005836, allocations: 128.4 kB / 486.7 MB, free: 23.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005836, allocations: 0.9375 kB / 486.7 MB, free: 23.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001405/0.005977, allocations: 17.81 kB / 486.7 MB, free: 23.71 MB / 426.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.148e-05/0.006068, allocations: 97.94 kB / 486.8 MB, free: 23.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.006215, allocations: 146 kB / 487 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006217, allocations: 0 / 487 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.006238, allocations: 23.45 kB / 487 MB, free: 23.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.006384, allocations: 10.92 kB / 487 MB, free: 23.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002071/0.006591, allocations: 131.1 kB / 487.1 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.392e-05/0.006615, allocations: 60.92 kB / 487.2 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.622e-05/0.006631, allocations: 2.75 kB / 487.2 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.006646, allocations: 15.22 kB / 487.2 MB, free: 23.27 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.006646, allocations: 0 / 487.2 MB, free: 23.27 MB / 426.7 MB Notification: Performance of Templates: time 0.002555/0.009202, allocations: 1.196 MB / 488.4 MB, free: 23.17 MB / 426.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.6878073401749134]