Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.001389/0.001389, allocations: 115 kB / 19.69 MB, free: 2.188 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.001472/0.001472, allocations: 187.4 kB / 22.98 MB, free: 5.008 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.309/1.309, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] 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.8884/0.8884, allocations: 149.6 MB / 456.6 MB, free: 1.164 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.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 66.3 kB / 0.6328 GB, free: 8.969 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1504, allocations: 87.88 MB / 0.7186 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001575/0.152, allocations: 0.5893 MB / 0.7192 GB, free: 428 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1533, allocations: 1.124 MB / 0.7203 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.1533, allocations: 0 / 0.7203 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.1534, allocations: 3.938 kB / 0.7203 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.054e-05/0.1534, allocations: 11.92 kB / 0.7203 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.1538, allocations: 122.5 kB / 0.7205 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.154, allocations: 83.83 kB / 0.7205 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.145e-05/0.1541, allocations: 15.98 kB / 0.7205 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.342e-05/0.1541, allocations: 31.97 kB / 0.7206 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.832e-05/0.1542, allocations: 39.83 kB / 0.7206 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1542, allocations: 12 kB / 0.7206 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.184e-05/0.1543, allocations: 23.94 kB / 0.7207 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.1543, allocations: 7.922 kB / 0.7207 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.1544, allocations: 35.91 kB / 0.7207 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.1545, allocations: 83.78 kB / 0.7208 GB, free: 14.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1545, allocations: 0 / 0.7208 GB, free: 14.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1545, allocations: 0 / 0.7208 GB, free: 14.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1545, allocations: 0 / 0.7208 GB, free: 14.82 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.0004221/0.1549, allocations: 303.9 kB / 0.7211 GB, free: 14.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.155, allocations: 12.62 kB / 0.7211 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.155, allocations: 4.938 kB / 0.7211 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/0.1551, allocations: 114.5 kB / 0.7212 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1551, allocations: 4.375 kB / 0.7212 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1551, allocations: 4.375 kB / 0.7212 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.92e-05/0.1552, allocations: 42.25 kB / 0.7212 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1552, allocations: 192 / 0.7212 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.1552, allocations: 3.938 kB / 0.7212 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1553, allocations: 3.938 kB / 0.7212 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.583e-05/0.1553, allocations: 11.98 kB / 0.7213 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.1557, allocations: 260 kB / 0.7215 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.245e-05/0.1557, allocations: 34.5 kB / 0.7215 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.1557, allocations: 4.859 kB / 0.7215 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.1557, allocations: 0 / 0.7215 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.1558, allocations: 63.39 kB / 0.7216 GB, free: 13.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1558, allocations: 4 kB / 0.7216 GB, free: 13.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001916/0.156, allocations: 77.62 kB / 0.7217 GB, free: 13.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.1561, allocations: 51.41 kB / 0.7217 GB, free: 13.69 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.186e-05/0.1562, allocations: 105.8 kB / 0.7218 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.1562, allocations: 33.7 kB / 0.7219 GB, free: 13.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.1563, allocations: 88.12 kB / 0.7219 GB, free: 13.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.1563, allocations: 3.953 kB / 0.722 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.1563, allocations: 37.64 kB / 0.722 GB, free: 13.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1565, allocations: 322.8 kB / 0.7223 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.1565, allocations: 31.98 kB / 0.7223 GB, free: 13.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-05/0.1566, allocations: 46.55 kB / 0.7224 GB, free: 12.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1567, allocations: 92.31 kB / 0.7225 GB, free: 12.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1567, allocations: 3.938 kB / 0.7225 GB, free: 12.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002471/0.157, allocations: 155.2 kB / 0.7226 GB, free: 12.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.157, allocations: 37.64 kB / 0.7226 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.157, allocations: 0 / 0.7226 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.157, allocations: 4 kB / 0.7226 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.1571, allocations: 7.922 kB / 0.7227 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1571, allocations: 4 kB / 0.7227 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.1573, allocations: 31.91 kB / 0.7227 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.1573, allocations: 4 kB / 0.7227 GB, free: 12.62 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: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.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 8.617e-05/0.1574, allocations: 117.8 kB / 0.7228 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.1574, allocations: 7.953 kB / 0.7228 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.1574, allocations: 11.98 kB / 0.7228 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.1574, allocations: 0 / 0.7228 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1574, allocations: 0 / 0.7228 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1574, allocations: 0 / 0.7228 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.1575, allocations: 136.7 kB / 0.723 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1575, allocations: 0 / 0.723 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.547e-05/0.1575, allocations: 4 kB / 0.723 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1575, allocations: 4 kB / 0.723 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1575, allocations: 4 kB / 0.723 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1575, allocations: 0 / 0.723 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1575, allocations: 3.938 kB / 0.723 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.1577, allocations: 85.06 kB / 0.7231 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.1577, allocations: 7.938 kB / 0.7231 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.1577, allocations: 0 / 0.7231 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.334e-05/0.1577, allocations: 0 / 0.7231 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.1577, allocations: 8 kB / 0.7231 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.1577, allocations: 4 kB / 0.7231 GB, free: 12.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.682e-05/0.1578, allocations: 87.27 kB / 0.7232 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1578, allocations: 0 / 0.7232 GB, free: 12.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002004/0.158, allocations: 16 kB / 0.7232 GB, free: 12.05 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: 3 ($whenCondition1,$whenCondition2,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.0001124/0.1581, allocations: 111.2 kB / 0.7233 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1583, allocations: 115.3 kB / 0.7234 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1583, allocations: 128 / 0.7234 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-05/0.1583, allocations: 16 kB / 0.7234 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.1585, allocations: 11.92 kB / 0.7234 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.1588, allocations: 122.2 kB / 0.7235 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.159, allocations: 0.6807 MB / 0.7242 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.882e-05/0.159, allocations: 4 kB / 0.7242 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.1591, allocations: 7.438 kB / 0.7242 GB, free: 10.92 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1591, allocations: 0 / 0.7242 GB, free: 10.92 MB / 0.545 GB Notification: Performance of Templates: time 0.003304/0.1624, allocations: 1.092 MB / 0.7253 GB, free: 9.84 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1044692834839225] Failed to read output from testmodel.py, exit status != 0: 0.16954051982611418 0.182373124 0.025144562000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f352b6597b0>