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.001278/0.001278, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001511/0.001511, allocations: 208.3 kB / 22.99 MB, free: 4.977 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9848/0.9848, allocations: 149.9 MB / 463.1 MB, free: 10.33 MB / 366.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.002266/0.002266, allocations: 69.77 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1678, allocations: 89.17 MB / 0.7281 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001907/0.1697, allocations: 0.6589 MB / 0.7288 GB, free: 388 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1712, allocations: 1.081 MB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.1713, allocations: 0 / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.127e-05/0.1713, allocations: 3.938 kB / 0.7298 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.782e-05/0.1713, allocations: 7.938 kB / 0.7298 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.1716, allocations: 47.83 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.1717, allocations: 43.84 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.663e-05/0.1718, allocations: 8 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.1719, allocations: 27.84 kB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.069e-05/0.1719, allocations: 19.92 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.172, allocations: 8 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.149e-05/0.172, allocations: 19.98 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.1721, allocations: 7.984 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.1721, allocations: 27.86 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.1722, allocations: 56.08 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1722, allocations: 0 / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1722, allocations: 0 / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1722, allocations: 0 / 0.7301 GB, free: 15.01 MB / 0.5606 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.0004973/0.1727, allocations: 282.2 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1728, allocations: 12.03 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.1728, allocations: 42.73 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.847e-05/0.1729, allocations: 4.938 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.93e-05/0.173, allocations: 122.4 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.173, allocations: 384 / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.173, allocations: 12.31 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1732, allocations: 58.22 kB / 0.7306 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1732, allocations: 3.938 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1732, allocations: 8 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1733, allocations: 0 / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.1734, allocations: 39.95 kB / 0.7307 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.1739, allocations: 243.9 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.1741, allocations: 54.48 kB / 0.7309 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1742, allocations: 32.89 kB / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1742, allocations: 0 / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.1744, allocations: 71.39 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1744, allocations: 4 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004158/0.1748, allocations: 121.5 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.1749, allocations: 51.41 kB / 0.7312 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.175, allocations: 113.8 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.175, allocations: 25.7 kB / 0.7314 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.175, allocations: 88.2 kB / 0.7314 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.1751, allocations: 19.83 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.1751, allocations: 25.72 kB / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1753, allocations: 322.8 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.1754, allocations: 27.98 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1755, allocations: 52.27 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.1757, allocations: 100.1 kB / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1757, allocations: 0 / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000289/0.176, allocations: 113.5 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.176, allocations: 6.031 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.176, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.176, allocations: 4 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1762, allocations: 24.08 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1762, allocations: 0 / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.1762, allocations: 11.98 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1762, allocations: 4 kB / 0.7321 GB, free: 12.73 MB / 0.5606 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.338e-05/0.1763, allocations: 117.8 kB / 0.7322 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.1763, allocations: 7.953 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.1766, allocations: 106.2 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1766, allocations: 4 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1766, allocations: 4.188 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1766, allocations: 0 / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.1771, allocations: 317.5 kB / 0.7326 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1771, allocations: 3.938 kB / 0.7326 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/0.1772, allocations: 11.98 kB / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1772, allocations: 0 / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1772, allocations: 0 / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1772, allocations: 4 kB / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1772, allocations: 3.938 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.1775, allocations: 195.4 kB / 0.7329 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.1775, allocations: 15.88 kB / 0.7329 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1775, allocations: 0 / 0.7329 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.1776, allocations: 4 kB / 0.7329 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.1777, allocations: 7.922 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.1777, allocations: 8 kB / 0.7329 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.283e-05/0.1777, allocations: 83.27 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1777, allocations: 3.938 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002632/0.178, allocations: 16 kB / 0.733 GB, free: 11.75 MB / 0.5606 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.0006296/0.1786, allocations: 0.7203 MB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.1789, allocations: 63.89 kB / 0.7338 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1789, allocations: 0 / 0.7338 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.179, allocations: 32.47 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1792, allocations: 16.06 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.181, allocations: 1.417 MB / 0.7352 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.062e-05/0.1811, allocations: 71.34 kB / 0.7353 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.854e-05/0.1811, allocations: 4 kB / 0.7353 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.1812, allocations: 19.42 kB / 0.7353 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.1812, allocations: 96 / 0.7353 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.2114, allocations: 2.321 MB / 0.7375 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.38, allocations: 14.3 kB / 0.7376 GB, free: 7.07 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.15841120807454] Failed to read output from testmodel.py, exit status != 0: 11.493455102201551 11.516810072 11.341135872 Calling exit ...