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.001373/0.001373, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001982/0.001982, allocations: 207 kB / 22.99 MB, free: 4.977 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 1.038/1.038, allocations: 149.9 MB / 463 MB, free: 10.32 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.002764/0.002764, allocations: 74.25 kB / 0.6415 GB, free: 9.602 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2273, allocations: 89.17 MB / 0.7286 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0019/0.2292, allocations: 0.5712 MB / 0.7292 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.2308, allocations: 1.132 MB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.2309, allocations: 0 / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.2309, allocations: 3.938 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.2309, allocations: 7.922 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.2314, allocations: 130.8 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.2316, allocations: 87.83 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.001e-05/0.2317, allocations: 4 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.239e-05/0.2317, allocations: 39.91 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.403e-05/0.2318, allocations: 27.89 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.2319, allocations: 8 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.687e-05/0.2319, allocations: 23.98 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.2319, allocations: 0 / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.232, allocations: 35.91 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.2322, allocations: 87.72 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2322, allocations: 0 / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2322, allocations: 4 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2322, allocations: 0 / 0.7307 GB, free: 14.34 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.000501/0.2327, allocations: 296 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2327, allocations: 11.97 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.2327, allocations: 12.83 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.2329, allocations: 110.5 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.2329, allocations: 4.375 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.2329, allocations: 8.359 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.299e-05/0.233, allocations: 38.25 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.233, allocations: 8.172 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.233, allocations: 7.938 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.233, allocations: 0 / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.2331, allocations: 4 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.2334, allocations: 240.4 kB / 0.7314 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.375e-05/0.2335, allocations: 30.56 kB / 0.7315 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.2335, allocations: 4.859 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.2335, allocations: 8 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.2337, allocations: 63.34 kB / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2337, allocations: 0 / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002017/0.2339, allocations: 69.62 kB / 0.7316 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.234, allocations: 63.39 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.234, allocations: 105.8 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.2341, allocations: 29.69 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.2341, allocations: 92.09 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.2342, allocations: 11.94 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.2342, allocations: 37.7 kB / 0.7319 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2344, allocations: 310.8 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.2345, allocations: 65.67 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.2346, allocations: 76.27 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.2347, allocations: 88.2 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2347, allocations: 0 / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002738/0.235, allocations: 184.9 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.235, allocations: 37.7 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.235, allocations: 0 / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.2351, allocations: 4 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.2351, allocations: 3.984 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2351, allocations: 4 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.2353, allocations: 28.03 kB / 0.7327 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.2353, allocations: 7.938 kB / 0.7327 GB, free: 12.07 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.0001085/0.2354, allocations: 113.8 kB / 0.7328 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.2355, allocations: 11.89 kB / 0.7328 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.2355, allocations: 11.98 kB / 0.7328 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2355, allocations: 3.938 kB / 0.7328 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2355, allocations: 0 / 0.7328 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2355, allocations: 0 / 0.7328 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.2356, allocations: 109.3 kB / 0.7329 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2356, allocations: 0 / 0.7329 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.2356, allocations: 11.94 kB / 0.7329 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2356, allocations: 4 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2356, allocations: 4 kB / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2356, allocations: 0 / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2356, allocations: 0 / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.2358, allocations: 89.05 kB / 0.733 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.2358, allocations: 7.891 kB / 0.733 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.2358, allocations: 4 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.384e-05/0.2358, allocations: 4 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.2358, allocations: 288 / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.2358, allocations: 3.984 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.2359, allocations: 91.28 kB / 0.7331 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2359, allocations: 0 / 0.7331 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002064/0.2361, allocations: 19.94 kB / 0.7332 GB, free: 11.53 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.0001952/0.2363, allocations: 99.23 kB / 0.7333 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.2365, allocations: 145 kB / 0.7334 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2365, allocations: 0 / 0.7334 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.493e-05/0.2366, allocations: 15.98 kB / 0.7334 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.2368, allocations: 12.12 kB / 0.7334 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.2371, allocations: 126.1 kB / 0.7335 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.005e-05/0.2371, allocations: 67.34 kB / 0.7336 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.2372, allocations: 4 kB / 0.7336 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.2372, allocations: 7.438 kB / 0.7336 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.2372, allocations: 0 / 0.7336 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.00401/0.2412, allocations: 1.193 MB / 0.7348 GB, free: 9.828 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: 5.98980263993144] Failed to read output from testmodel.py, exit status != 0: 0.25134723633527756 0.265416626 0.030102652 Calling exit ...