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.001274/0.001274, allocations: 74.98 kB / 19.93 MB, free: 1.77 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.001402/0.001402, allocations: 171.1 kB / 23.22 MB, free: 4.887 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.388/1.388, allocations: 177.2 MB / 203.5 MB, free: 9.164 MB / 190.1 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.9012/0.9012, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.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: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.5547 GB, free: 2.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.441e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.668 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001556/0.001581, allocations: 0.5827 MB / 0.5552 GB, free: 2.086 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.003092, allocations: 1.143 MB / 0.5563 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.003129, allocations: 0 / 0.5563 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.003154, allocations: 0 / 0.5563 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.003208, allocations: 3.938 kB / 0.5563 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.003655, allocations: 129.1 kB / 0.5565 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.003815, allocations: 87.83 kB / 0.5565 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.072e-05/0.003895, allocations: 11.98 kB / 0.5566 GB, free: 0.707 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.49e-05/0.00399, allocations: 47.91 kB / 0.5566 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.188e-05/0.004072, allocations: 27.95 kB / 0.5566 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.004096, allocations: 8 kB / 0.5566 GB, free: 0.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.218e-05/0.004158, allocations: 23.91 kB / 0.5567 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.004178, allocations: 7.938 kB / 0.5567 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.004231, allocations: 23.98 kB / 0.5567 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.004412, allocations: 99.81 kB / 0.5568 GB, free: 484 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004414, allocations: 0 / 0.5568 GB, free: 484 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004415, allocations: 4 kB / 0.5568 GB, free: 480 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.004419, allocations: 0 / 0.5568 GB, free: 480 kB / 462.1 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.0004422/0.004861, allocations: 303.9 kB / 0.5571 GB, free: 136 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.004898, allocations: 12.62 kB / 0.5571 GB, free: 124 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.004942, allocations: 12.86 kB / 0.5571 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.005067, allocations: 109.8 kB / 0.5572 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.005084, allocations: 4.375 kB / 0.5572 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.005106, allocations: 4.375 kB / 0.5572 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.053e-05/0.005197, allocations: 46.19 kB / 0.5573 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.005204, allocations: 192 / 0.5573 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.005211, allocations: 384 / 0.5573 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.005215, allocations: 4.375 kB / 0.5573 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.036e-05/0.005255, allocations: 11.94 kB / 0.5573 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.005611, allocations: 228.5 kB / 0.5575 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.005672, allocations: 26.58 kB / 0.5575 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.357e-05/0.005695, allocations: 12.86 kB / 0.5575 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-06/0.005701, allocations: 0 / 0.5575 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.005817, allocations: 63.39 kB / 0.5576 GB, free: 15.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.005818, allocations: 0 / 0.5576 GB, free: 15.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002076/0.006025, allocations: 73.56 kB / 0.5577 GB, free: 15.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.006067, allocations: 59.34 kB / 0.5577 GB, free: 15.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/0.006163, allocations: 109.8 kB / 0.5578 GB, free: 15.26 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.006198, allocations: 33.7 kB / 0.5579 GB, free: 15.22 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.006253, allocations: 80.14 kB / 0.5579 GB, free: 15.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.006267, allocations: 11.95 kB / 0.5579 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.006352, allocations: 29.7 kB / 0.558 GB, free: 15.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.00651, allocations: 314.8 kB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.006615, allocations: 61.69 kB / 0.5583 GB, free: 14.71 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.006731, allocations: 84.25 kB / 0.5584 GB, free: 14.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.006852, allocations: 84.2 kB / 0.5585 GB, free: 14.51 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.006855, allocations: 8 kB / 0.5585 GB, free: 14.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003035/0.007159, allocations: 184.9 kB / 0.5587 GB, free: 14.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.007206, allocations: 37.62 kB / 0.5587 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.007213, allocations: 4 kB / 0.5587 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.007231, allocations: 240 / 0.5587 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.964e-05/0.007281, allocations: 0 / 0.5587 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.007286, allocations: 4 kB / 0.5587 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.007491, allocations: 27.91 kB / 0.5587 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.007514, allocations: 12.06 kB / 0.5588 GB, free: 14.21 MB / 478.1 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 0.0001165/0.007631, allocations: 122.8 kB / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.007645, allocations: 7.984 kB / 0.5589 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.007672, allocations: 11.94 kB / 0.5589 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.007674, allocations: 0 / 0.5589 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.007678, allocations: 0 / 0.5589 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.007681, allocations: 4 kB / 0.5589 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.007802, allocations: 109.4 kB / 0.559 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007803, allocations: 0 / 0.559 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.007823, allocations: 7.938 kB / 0.559 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.007825, allocations: 4 kB / 0.559 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.007831, allocations: 0 / 0.559 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/0.007846, allocations: 7.922 kB / 0.559 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007847, allocations: 3.938 kB / 0.559 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.00798, allocations: 85.08 kB / 0.5591 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.007988, allocations: 0 / 0.5591 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.008007, allocations: 8 kB / 0.5591 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.655e-05/0.008023, allocations: 3.938 kB / 0.5591 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.008052, allocations: 3.984 kB / 0.5591 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.008059, allocations: 4 kB / 0.5591 GB, free: 13.78 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.811e-05/0.008117, allocations: 83.28 kB / 0.5592 GB, free: 13.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.008117, allocations: 4 kB / 0.5592 GB, free: 13.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.008341, allocations: 19.98 kB / 0.5592 GB, free: 13.68 MB / 478.1 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 0.0001501/0.008491, allocations: 99.19 kB / 0.5593 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.008764, allocations: 149.1 kB / 0.5595 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.008766, allocations: 0 / 0.5595 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/0.008801, allocations: 15.94 kB / 0.5595 GB, free: 13.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.009004, allocations: 10.72 kB / 0.5595 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.009309, allocations: 129 kB / 0.5596 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.009415, allocations: 63.34 kB / 0.5597 GB, free: 13.15 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.83e-05/0.009433, allocations: 0 / 0.5597 GB, free: 13.15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.009459, allocations: 12.5 kB / 0.5597 GB, free: 13.13 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.00946, allocations: 0 / 0.5597 GB, free: 13.13 MB / 478.1 MB Notification: Performance of Templates: time 0.003956/0.01342, allocations: 1.181 MB / 0.5608 GB, free: 11.99 MB / 478.1 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.980417065322399] Failed to read output from testmodel.py, exit status != 0: 0.02223510667681694 0.038246266 0.030422452000000003 Calling exit ...