Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.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.001411/0.001411, allocations: 114 kB / 17.12 MB, free: 6.008 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.001524/0.001524, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.055/1.055, allocations: 150 MB / 459.5 MB, free: 5.289 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.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",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.002237/0.002237, allocations: 71.42 kB / 0.6361 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1644, allocations: 89.13 MB / 0.7232 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002165/0.1666, allocations: 0.7259 MB / 0.7239 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1684, allocations: 1.188 MB / 0.725 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.1684, allocations: 4 kB / 0.725 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.946e-05/0.1685, allocations: 3.938 kB / 0.7251 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.077e-05/0.1685, allocations: 11.86 kB / 0.7251 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.1691, allocations: 142.2 kB / 0.7252 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.1693, allocations: 107.8 kB / 0.7253 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1694, allocations: 8 kB / 0.7253 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.1695, allocations: 51.89 kB / 0.7254 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1697, allocations: 51.81 kB / 0.7254 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.1697, allocations: 12 kB / 0.7254 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.373e-05/0.1698, allocations: 23.98 kB / 0.7254 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.1698, allocations: 15.97 kB / 0.7255 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.1699, allocations: 35.86 kB / 0.7255 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.1701, allocations: 111.9 kB / 0.7256 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1701, allocations: 0 / 0.7256 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.445e-06/0.1701, allocations: 0 / 0.7256 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.1701, allocations: 3.938 kB / 0.7256 GB, free: 1.672 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007251/0.1708, allocations: 422.6 kB / 0.726 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1709, allocations: 8.031 kB / 0.726 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.1709, allocations: 38.69 kB / 0.726 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.171, allocations: 12.89 kB / 0.7261 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.1711, allocations: 176.2 kB / 0.7262 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1711, allocations: 8.312 kB / 0.7262 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.1712, allocations: 8.375 kB / 0.7262 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.1714, allocations: 62.22 kB / 0.7263 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1714, allocations: 7.938 kB / 0.7263 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1714, allocations: 4 kB / 0.7263 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1714, allocations: 0 / 0.7263 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.1716, allocations: 47.89 kB / 0.7264 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.1721, allocations: 324.7 kB / 0.7267 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1723, allocations: 58.61 kB / 0.7267 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1724, allocations: 32.89 kB / 0.7268 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1724, allocations: 8 kB / 0.7268 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.1727, allocations: 91.38 kB / 0.7269 GB, free: 208 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.1727, allocations: 0 / 0.7269 GB, free: 208 kB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004465/0.1732, allocations: 133.6 kB / 0.727 GB, free: 68 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.1732, allocations: 59.45 kB / 0.727 GB, free: 15.99 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.1734, allocations: 121.8 kB / 0.7272 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.1734, allocations: 33.7 kB / 0.7272 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.1735, allocations: 88.14 kB / 0.7273 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.1735, allocations: 19.89 kB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.1736, allocations: 41.7 kB / 0.7273 GB, free: 15.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1737, allocations: 318.8 kB / 0.7276 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.1739, allocations: 51.97 kB / 0.7277 GB, free: 15.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.1741, allocations: 86.88 kB / 0.7278 GB, free: 15.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.1744, allocations: 145.9 kB / 0.7279 GB, free: 15.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1744, allocations: 0 / 0.7279 GB, free: 15.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004873/0.1748, allocations: 215.2 kB / 0.7281 GB, free: 14.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.1749, allocations: 33.69 kB / 0.7281 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1749, allocations: 4 kB / 0.7281 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1749, allocations: 3.891 kB / 0.7281 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.175, allocations: 15.98 kB / 0.7282 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.175, allocations: 4 kB / 0.7282 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.1752, allocations: 39.86 kB / 0.7282 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.1753, allocations: 12.08 kB / 0.7282 GB, free: 14.7 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001235/0.1754, allocations: 125.7 kB / 0.7283 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.1754, allocations: 7.953 kB / 0.7283 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.1754, allocations: 8.375 kB / 0.7284 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.1754, allocations: 4 kB / 0.7284 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1755, allocations: 0 / 0.7284 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.1755, allocations: 3.984 kB / 0.7284 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/0.176, allocations: 378.4 kB / 0.7287 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.176, allocations: 0 / 0.7287 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.1761, allocations: 11.98 kB / 0.7287 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1761, allocations: 4 kB / 0.7287 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1761, allocations: 0 / 0.7287 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1761, allocations: 0 / 0.7287 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1761, allocations: 0 / 0.7287 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.1764, allocations: 219.8 kB / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.1765, allocations: 81.06 kB / 0.729 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.1765, allocations: 4 kB / 0.729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-05/0.1766, allocations: 11.92 kB / 0.729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.1766, allocations: 7.938 kB / 0.729 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.1766, allocations: 4 kB / 0.729 GB, free: 13.74 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.794e-05/0.1767, allocations: 94.77 kB / 0.7291 GB, free: 13.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1767, allocations: 4 kB / 0.7291 GB, free: 13.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000267/0.177, allocations: 27.94 kB / 0.7292 GB, free: 13.62 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0006856/0.1777, allocations: 0.7397 MB / 0.7299 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004533/0.1781, allocations: 167.3 kB / 0.7301 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1781, allocations: 4 kB / 0.7301 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1782, allocations: 39.91 kB / 0.7301 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1785, allocations: 13.59 kB / 0.7301 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.1809, allocations: 1.7 MB / 0.7318 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.1813, allocations: 0.6875 MB / 0.7324 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.764e-05/0.1813, allocations: 7.984 kB / 0.7324 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.1813, allocations: 19.44 kB / 0.7325 GB, free: 10.07 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1813, allocations: 0 / 0.7325 GB, free: 10.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.2175, allocations: 2.552 MB / 0.735 GB, free: 7.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.301, allocations: 11.45 kB / 0.735 GB, free: 7.617 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.399063660996035] Failed to read output from testmodel.py, exit status != 0: 8.373642333084717 8.398433743 8.22413995 Calling exit ...