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.001348/0.001348, allocations: 113.3 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.001409/0.001409, allocations: 194.2 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.506/1.506, allocations: 225.6 MB / 251.5 MB, free: 13.07 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.9858/0.9858, allocations: 149.6 MB / 456.3 MB, free: 1.281 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 69.42 kB / 0.6319 GB, free: 9.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1651, allocations: 87.87 MB / 0.7177 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002214/0.1674, allocations: 0.5982 MB / 0.7183 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1691, allocations: 1.124 MB / 0.7194 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.1692, allocations: 8 kB / 0.7194 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.1692, allocations: 0 / 0.7194 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.171e-05/0.1693, allocations: 3.938 kB / 0.7194 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.1698, allocations: 125.1 kB / 0.7195 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.17, allocations: 91.88 kB / 0.7196 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.837e-05/0.1701, allocations: 4 kB / 0.7196 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.82e-05/0.1702, allocations: 43.91 kB / 0.7197 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1703, allocations: 35.89 kB / 0.7197 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.1703, allocations: 8 kB / 0.7197 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.602e-05/0.1704, allocations: 23.92 kB / 0.7197 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.1704, allocations: 11.94 kB / 0.7197 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.1704, allocations: 23.92 kB / 0.7198 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.1706, allocations: 83.78 kB / 0.7198 GB, free: 15.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1706, allocations: 0 / 0.7198 GB, free: 15.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1706, allocations: 0 / 0.7198 GB, free: 15.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.1706, allocations: 0 / 0.7198 GB, free: 15.52 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.0004609/0.1711, allocations: 303.9 kB / 0.7201 GB, free: 15.19 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.1711, allocations: 12.62 kB / 0.7201 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/0.1712, allocations: 38.73 kB / 0.7202 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.1712, allocations: 4.938 kB / 0.7202 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.1713, allocations: 114.5 kB / 0.7203 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.1714, allocations: 8.312 kB / 0.7203 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1714, allocations: 8.375 kB / 0.7203 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1715, allocations: 42.23 kB / 0.7203 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1715, allocations: 3.938 kB / 0.7203 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.1715, allocations: 0 / 0.7203 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1715, allocations: 0 / 0.7203 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.1716, allocations: 11.98 kB / 0.7204 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.1721, allocations: 260 kB / 0.7206 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.81e-05/0.1722, allocations: 34.45 kB / 0.7206 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.1722, allocations: 12.91 kB / 0.7207 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.1722, allocations: 0 / 0.7207 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.1724, allocations: 59.39 kB / 0.7207 GB, free: 14.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1724, allocations: 4 kB / 0.7207 GB, free: 14.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002509/0.1726, allocations: 77.58 kB / 0.7208 GB, free: 14.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.1727, allocations: 51.41 kB / 0.7208 GB, free: 14.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1728, allocations: 105.8 kB / 0.7209 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1728, allocations: 29.7 kB / 0.721 GB, free: 14.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.1729, allocations: 88.08 kB / 0.7211 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.1729, allocations: 7.953 kB / 0.7211 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.86e-05/0.173, allocations: 33.69 kB / 0.7211 GB, free: 14.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1732, allocations: 318.8 kB / 0.7214 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.1732, allocations: 27.98 kB / 0.7214 GB, free: 13.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.396e-05/0.1733, allocations: 54.55 kB / 0.7215 GB, free: 13.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1735, allocations: 84.16 kB / 0.7216 GB, free: 13.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1735, allocations: 64 / 0.7216 GB, free: 13.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002624/0.1737, allocations: 163.2 kB / 0.7217 GB, free: 13.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.1738, allocations: 37.7 kB / 0.7217 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1738, allocations: 0 / 0.7217 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1738, allocations: 0 / 0.7217 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.085e-05/0.1738, allocations: 4 kB / 0.7217 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1738, allocations: 3.938 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.174, allocations: 27.91 kB / 0.7218 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.174, allocations: 11.98 kB / 0.7218 GB, free: 13.28 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.742e-05/0.1741, allocations: 121.8 kB / 0.7219 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.1741, allocations: 7.891 kB / 0.7219 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.1742, allocations: 12 kB / 0.7219 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1742, allocations: 0 / 0.7219 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1742, allocations: 0 / 0.7219 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1742, allocations: 3.984 kB / 0.7219 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1743, allocations: 136.7 kB / 0.7221 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1743, allocations: 0 / 0.7221 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.1743, allocations: 0 / 0.7221 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1743, allocations: 4 kB / 0.7221 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1743, allocations: 7.984 kB / 0.7221 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1743, allocations: 0 / 0.7221 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1743, allocations: 0 / 0.7221 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.1744, allocations: 85.06 kB / 0.7222 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.1745, allocations: 8.234 kB / 0.7222 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.1745, allocations: 0 / 0.7222 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.296e-05/0.1745, allocations: 0 / 0.7222 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.1745, allocations: 7.984 kB / 0.7222 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1745, allocations: 11.92 kB / 0.7222 GB, free: 12.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.1746, allocations: 91.2 kB / 0.7223 GB, free: 12.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1746, allocations: 0 / 0.7223 GB, free: 12.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002033/0.1748, allocations: 16 kB / 0.7223 GB, free: 12.7 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.0004162/0.1752, allocations: 0.6202 MB / 0.7229 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1754, allocations: 119.3 kB / 0.723 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1754, allocations: 0 / 0.723 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.1754, allocations: 8 kB / 0.723 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.1756, allocations: 13.98 kB / 0.723 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.1772, allocations: 1.393 MB / 0.7244 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1775, allocations: 0.6807 MB / 0.725 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.008e-05/0.1775, allocations: 0 / 0.725 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.1775, allocations: 19.52 kB / 0.7251 GB, free: 9.68 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.1775, allocations: 3.938 kB / 0.7251 GB, free: 9.676 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.2005, allocations: 2.022 MB / 0.727 GB, free: 7.754 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/7.948, allocations: 7.047 kB / 0.7271 GB, free: 7.75 MB / 0.545 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.663116719995742] Failed to read output from testmodel.py, exit status != 0: 8.017653777002124 8.035239446 7.861170615 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fdc800bd7b0>