Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.001519/0.001519, allocations: 110.5 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.001581/0.001581, 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.543/1.543, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 0.9493/0.9493, allocations: 150 MB / 459.5 MB, free: 5.223 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.Discrete.Validation.UnitDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay",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.001954/0.001954, allocations: 61.34 kB / 0.6361 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1384, allocations: 89.14 MB / 0.7232 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.00174/0.1402, allocations: 0.6521 MB / 0.7238 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1415, allocations: 1.11 MB / 0.7249 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.1415, allocations: 0 / 0.7249 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.1415, allocations: 3.938 kB / 0.7249 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.42e-05/0.1416, allocations: 11.91 kB / 0.7249 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.1419, allocations: 43.84 kB / 0.7249 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.784e-05/0.1419, allocations: 39.92 kB / 0.725 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.616e-05/0.142, allocations: 15.97 kB / 0.725 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.613e-05/0.1421, allocations: 15.94 kB / 0.725 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.1421, allocations: 23.91 kB / 0.725 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1422, allocations: 8 kB / 0.725 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-05/0.1422, allocations: 23.92 kB / 0.7251 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.1422, allocations: 15.92 kB / 0.7251 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.1423, allocations: 19.92 kB / 0.7251 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.1424, allocations: 64 kB / 0.7251 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1424, allocations: 0 / 0.7251 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1424, allocations: 0 / 0.7251 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1424, allocations: 0 / 0.7251 GB, free: 1.961 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.0005198/0.1429, allocations: 363.3 kB / 0.7255 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.143, allocations: 16.03 kB / 0.7255 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.143, allocations: 30.75 kB / 0.7255 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.697e-05/0.1431, allocations: 4.938 kB / 0.7255 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1432, allocations: 176.3 kB / 0.7257 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1432, allocations: 4.375 kB / 0.7257 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.1432, allocations: 4.375 kB / 0.7257 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1434, allocations: 66.16 kB / 0.7258 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1434, allocations: 3.938 kB / 0.7258 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1434, allocations: 0 / 0.7258 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1434, allocations: 8 kB / 0.7258 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.1436, allocations: 31.97 kB / 0.7258 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.1441, allocations: 288.8 kB / 0.7261 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1443, allocations: 54.48 kB / 0.7262 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.995e-05/0.1444, allocations: 28.97 kB / 0.7262 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1444, allocations: 4.062 kB / 0.7262 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.1446, allocations: 71.38 kB / 0.7262 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1446, allocations: 0 / 0.7262 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0004133/0.145, allocations: 129.5 kB / 0.7264 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.145, allocations: 55.41 kB / 0.7264 GB, free: 460 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.066e-05/0.1451, allocations: 109.8 kB / 0.7265 GB, free: 340 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1451, allocations: 29.7 kB / 0.7266 GB, free: 304 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.1452, allocations: 84.14 kB / 0.7266 GB, free: 216 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.1452, allocations: 19.78 kB / 0.7267 GB, free: 196 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.1453, allocations: 29.7 kB / 0.7267 GB, free: 160 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1454, allocations: 318.8 kB / 0.727 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1455, allocations: 31.97 kB / 0.727 GB, free: 15.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1456, allocations: 56.27 kB / 0.7271 GB, free: 15.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.1459, allocations: 92.19 kB / 0.7272 GB, free: 15.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1459, allocations: 0 / 0.7272 GB, free: 15.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002876/0.1462, allocations: 109.6 kB / 0.7273 GB, free: 15.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1462, allocations: 12 kB / 0.7273 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1462, allocations: 320 / 0.7273 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1462, allocations: 0 / 0.7273 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1463, allocations: 15.98 kB / 0.7273 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1463, allocations: 11.92 kB / 0.7273 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.1464, allocations: 7.953 kB / 0.7273 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1464, allocations: 7.984 kB / 0.7273 GB, free: 15.46 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: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 9.461e-05/0.1465, allocations: 117.8 kB / 0.7274 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.1465, allocations: 7.984 kB / 0.7274 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.1468, allocations: 106 kB / 0.7275 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1468, allocations: 0 / 0.7275 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1468, allocations: 3.984 kB / 0.7275 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1468, allocations: 0 / 0.7275 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.1473, allocations: 350.5 kB / 0.7279 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.1473, allocations: 7.984 kB / 0.7279 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.1474, allocations: 4 kB / 0.7279 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1474, allocations: 0 / 0.7279 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1474, allocations: 4 kB / 0.7279 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1474, allocations: 7.922 kB / 0.7279 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1474, allocations: 384 / 0.7279 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.1477, allocations: 195.5 kB / 0.7281 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.1477, allocations: 85 kB / 0.7282 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.1477, allocations: 7.984 kB / 0.7282 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.1478, allocations: 8 kB / 0.7282 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.1478, allocations: 7.922 kB / 0.7282 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.1479, allocations: 4.188 kB / 0.7282 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.804e-05/0.1479, allocations: 83.28 kB / 0.7283 GB, free: 14.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1479, allocations: 3.938 kB / 0.7283 GB, free: 14.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002438/0.1481, allocations: 15.94 kB / 0.7283 GB, free: 14.35 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 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0006258/0.1488, allocations: 0.7241 MB / 0.729 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.149, allocations: 72.02 kB / 0.7291 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.149, allocations: 0 / 0.7291 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1491, allocations: 27.97 kB / 0.7291 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.1494, allocations: 15.92 kB / 0.7291 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.1511, allocations: 1.413 MB / 0.7305 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1514, allocations: 0.6885 MB / 0.7312 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.772e-05/0.1514, allocations: 4 kB / 0.7312 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.1515, allocations: 19.38 kB / 0.7312 GB, free: 11.24 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1515, allocations: 0 / 0.7312 GB, free: 11.24 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.1749, allocations: 1.781 MB / 0.7329 GB, free: 9.578 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.535, allocations: 4.406 kB / 0.7329 GB, free: 9.574 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.468856537016109] Failed to read output from testmodel.py, exit status != 0: 8.60851569287479 8.637357348 8.490893665 Calling exit ...