Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.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.001218/0.001218, allocations: 113.4 kB / 17.12 MB, free: 6.027 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.001366/0.001366, allocations: 208.3 kB / 20.1 MB, free: 3.074 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.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.04/1.04, allocations: 150 MB / 459.5 MB, free: 5.328 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [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.0021/0.0021, allocations: 67.47 kB / 0.6361 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1558, allocations: 89.14 MB / 0.7232 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.And): time 0.001916/0.1577, allocations: 0.6333 MB / 0.7238 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1593, allocations: 1.223 MB / 0.725 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.1594, allocations: 4 kB / 0.725 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.1594, allocations: 3.938 kB / 0.725 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.641e-05/0.1595, allocations: 23.84 kB / 0.725 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.1602, allocations: 211.3 kB / 0.7252 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.1604, allocations: 167.7 kB / 0.7254 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.056e-05/0.1605, allocations: 11.98 kB / 0.7254 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1606, allocations: 67.89 kB / 0.7255 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.1607, allocations: 67.83 kB / 0.7255 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.1608, allocations: 16 kB / 0.7255 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.65e-05/0.1609, allocations: 27.98 kB / 0.7256 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.1609, allocations: 7.938 kB / 0.7256 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.805e-05/0.161, allocations: 59.88 kB / 0.7256 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.1612, allocations: 147.8 kB / 0.7258 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1612, allocations: 0 / 0.7258 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1612, allocations: 0 / 0.7258 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.1612, allocations: 0 / 0.7258 GB, free: 1.379 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005614/0.1618, allocations: 442.6 kB / 0.7262 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1618, allocations: 12.03 kB / 0.7262 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.1618, allocations: 38.69 kB / 0.7262 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.1619, allocations: 8.938 kB / 0.7262 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.162, allocations: 176.3 kB / 0.7264 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.162, allocations: 4.375 kB / 0.7264 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.1621, allocations: 8.375 kB / 0.7264 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.1622, allocations: 46.25 kB / 0.7265 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.1622, allocations: 3.938 kB / 0.7265 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1622, allocations: 3.984 kB / 0.7265 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1622, allocations: 8 kB / 0.7265 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.336e-05/0.1623, allocations: 15.94 kB / 0.7265 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.1627, allocations: 352.7 kB / 0.7268 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.407e-05/0.1628, allocations: 30.56 kB / 0.7269 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.1629, allocations: 12.86 kB / 0.7269 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.1629, allocations: 4 kB / 0.7269 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.1631, allocations: 87.34 kB / 0.727 GB, free: 15.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/0.1631, allocations: 0 / 0.727 GB, free: 15.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002516/0.1633, allocations: 101.6 kB / 0.7271 GB, free: 15.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.1634, allocations: 59.39 kB / 0.7271 GB, free: 15.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.1635, allocations: 121.7 kB / 0.7272 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.1635, allocations: 29.7 kB / 0.7273 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.1636, allocations: 88.14 kB / 0.7273 GB, free: 15.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.1636, allocations: 19.89 kB / 0.7274 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1637, allocations: 57.69 kB / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1639, allocations: 322.7 kB / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.164, allocations: 59.95 kB / 0.7278 GB, free: 15.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.1642, allocations: 88.27 kB / 0.7279 GB, free: 14.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.1644, allocations: 159.6 kB / 0.728 GB, free: 14.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1644, allocations: 8 kB / 0.728 GB, free: 14.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004814/0.1649, allocations: 264.8 kB / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.958e-05/0.165, allocations: 67.86 kB / 0.7283 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.165, allocations: 0 / 0.7283 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.165, allocations: 8.125 kB / 0.7284 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.871e-05/0.165, allocations: 0 / 0.7284 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.165, allocations: 8.25 kB / 0.7284 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.1654, allocations: 59.83 kB / 0.7284 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.1654, allocations: 11.98 kB / 0.7284 GB, free: 14.33 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001179/0.1655, allocations: 121.8 kB / 0.7285 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.1655, allocations: 8 kB / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.1656, allocations: 8.375 kB / 0.7286 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1656, allocations: 4 kB / 0.7286 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1656, allocations: 0 / 0.7286 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1656, allocations: 3.984 kB / 0.7286 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.1657, allocations: 185.5 kB / 0.7287 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1657, allocations: 0 / 0.7287 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.106e-05/0.1658, allocations: 3.984 kB / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1658, allocations: 0 / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1658, allocations: 3.984 kB / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1658, allocations: 8 kB / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1658, allocations: 3.984 kB / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.1659, allocations: 109 kB / 0.7289 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.166, allocations: 85.06 kB / 0.729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.166, allocations: 0 / 0.729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.276e-05/0.166, allocations: 4 kB / 0.729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.1661, allocations: 7.984 kB / 0.729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.1661, allocations: 7.938 kB / 0.729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.848e-05/0.1661, allocations: 95.27 kB / 0.7291 GB, free: 13.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1661, allocations: 0 / 0.7291 GB, free: 13.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002484/0.1664, allocations: 32 kB / 0.7291 GB, free: 13.55 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005014/0.1669, allocations: 0.6475 MB / 0.7297 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.1672, allocations: 218.7 kB / 0.7299 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1672, allocations: 0 / 0.7299 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.117e-05/0.1673, allocations: 23.98 kB / 0.73 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.1675, allocations: 20.2 kB / 0.73 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.1697, allocations: 1.722 MB / 0.7317 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.17, allocations: 0.6846 MB / 0.7323 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.17, allocations: 8 kB / 0.7323 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.1701, allocations: 15.44 kB / 0.7323 GB, free: 10.03 MB / 0.545 GB Notification: Performance of SimCode: time 9.02e-07/0.1701, allocations: 4 kB / 0.7324 GB, free: 10.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.1961, allocations: 2.885 MB / 0.7352 GB, free: 7.242 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.164, allocations: 10.31 kB / 0.7352 GB, free: 7.234 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.25726059009321] Failed to read output from testmodel.py, exit status != 0: 8.232623425778002 8.255739699 8.090275238 Calling exit ...