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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 114.6 kB / 19.59 MB, free: 2.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 186.9 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 251.5 MB, free: 13.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9673/0.9673, allocations: 149.5 MB / 456.3 MB, free: 1.293 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002009/0.002009, allocations: 64.47 kB / 0.6324 GB, free: 9.184 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1899, allocations: 87.88 MB / 0.7182 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001868/0.1918, allocations: 0.5919 MB / 0.7188 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1934, allocations: 1.12 MB / 0.7199 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.1935, allocations: 0 / 0.7199 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.1935, allocations: 0 / 0.7199 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/0.1936, allocations: 11.91 kB / 0.7199 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.1941, allocations: 126.2 kB / 0.72 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.1943, allocations: 95.77 kB / 0.7201 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.208e-05/0.1944, allocations: 8 kB / 0.7201 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.1945, allocations: 35.97 kB / 0.7201 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1946, allocations: 31.89 kB / 0.7202 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.1946, allocations: 8 kB / 0.7202 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.413e-05/0.1947, allocations: 23.98 kB / 0.7202 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.1947, allocations: 3.938 kB / 0.7202 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.1948, allocations: 39.84 kB / 0.7202 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.195, allocations: 87.78 kB / 0.7203 GB, free: 15.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.195, allocations: 0 / 0.7203 GB, free: 15.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.195, allocations: 0 / 0.7203 GB, free: 15.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.195, allocations: 0 / 0.7203 GB, free: 15.05 MB / 0.545 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.0004948/0.1955, allocations: 303.9 kB / 0.7206 GB, free: 14.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1955, allocations: 8.625 kB / 0.7206 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.1956, allocations: 4.938 kB / 0.7206 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1957, allocations: 114.4 kB / 0.7207 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.1957, allocations: 4.375 kB / 0.7207 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1957, allocations: 4.375 kB / 0.7207 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1958, allocations: 42.25 kB / 0.7208 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1958, allocations: 192 / 0.7208 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1958, allocations: 7.922 kB / 0.7208 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1958, allocations: 4 kB / 0.7208 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.712e-05/0.1959, allocations: 11.98 kB / 0.7208 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.1963, allocations: 259.9 kB / 0.721 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.08e-05/0.1964, allocations: 34.5 kB / 0.7211 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.1964, allocations: 8.922 kB / 0.7211 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.1964, allocations: 0 / 0.7211 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.1965, allocations: 63.39 kB / 0.7211 GB, free: 14.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1965, allocations: 0 / 0.7211 GB, free: 14.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.000214/0.1968, allocations: 77.58 kB / 0.7212 GB, free: 13.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.1968, allocations: 51.41 kB / 0.7213 GB, free: 13.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1969, allocations: 109.8 kB / 0.7214 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.1969, allocations: 33.7 kB / 0.7214 GB, free: 13.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.197, allocations: 84.12 kB / 0.7215 GB, free: 13.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.197, allocations: 11.95 kB / 0.7215 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.1971, allocations: 29.7 kB / 0.7215 GB, free: 13.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1972, allocations: 310.8 kB / 0.7218 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.034e-05/0.1973, allocations: 35.97 kB / 0.7219 GB, free: 13.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.865e-05/0.1974, allocations: 54.56 kB / 0.7219 GB, free: 13.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1976, allocations: 84.19 kB / 0.722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.1976, allocations: 7.875 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002981/0.1979, allocations: 155.2 kB / 0.7221 GB, free: 12.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.1979, allocations: 33.7 kB / 0.7222 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1979, allocations: 0 / 0.7222 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.198, allocations: 7.984 kB / 0.7222 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.029e-05/0.198, allocations: 4.062 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.198, allocations: 0 / 0.7222 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.1982, allocations: 31.91 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1982, allocations: 11.94 kB / 0.7222 GB, free: 12.85 MB / 0.545 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.0001034/0.1984, allocations: 121.7 kB / 0.7223 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.1984, allocations: 3.984 kB / 0.7223 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.1984, allocations: 8 kB / 0.7224 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1984, allocations: 4 kB / 0.7224 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1984, allocations: 0 / 0.7224 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1984, allocations: 0 / 0.7224 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.1985, allocations: 144.6 kB / 0.7225 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1985, allocations: 0 / 0.7225 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.1986, allocations: 4 kB / 0.7225 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1986, allocations: 0 / 0.7225 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1986, allocations: 0 / 0.7225 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1986, allocations: 4.062 kB / 0.7225 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1986, allocations: 0 / 0.7225 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1987, allocations: 93 kB / 0.7226 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.1987, allocations: 7.938 kB / 0.7226 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1987, allocations: 0 / 0.7226 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.461e-05/0.1988, allocations: 0 / 0.7226 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.1988, allocations: 8 kB / 0.7226 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1988, allocations: 0 / 0.7226 GB, free: 12.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.1989, allocations: 91.64 kB / 0.7227 GB, free: 12.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1989, allocations: 0 / 0.7227 GB, free: 12.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002211/0.1991, allocations: 16 kB / 0.7227 GB, free: 12.28 MB / 0.545 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.0001458/0.1992, allocations: 111.2 kB / 0.7228 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.1995, allocations: 111.6 kB / 0.7229 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1995, allocations: 0 / 0.7229 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.404e-05/0.1995, allocations: 12 kB / 0.7229 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.1997, allocations: 20.83 kB / 0.723 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.2, allocations: 122.6 kB / 0.7231 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.2003, allocations: 0.6807 MB / 0.7237 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.533e-05/0.2003, allocations: 7.984 kB / 0.7237 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.2003, allocations: 7.438 kB / 0.7238 GB, free: 11.14 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.2003, allocations: 0 / 0.7238 GB, free: 11.14 MB / 0.545 GB Notification: Performance of Templates: time 0.003915/0.2043, allocations: 1.088 MB / 0.7248 GB, free: 10.06 MB / 0.545 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.647087655030191] Failed to read output from testmodel.py, exit status != 0: 0.21288719959557056 0.22831048699999995 0.030175576000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f55fa8f57b0>