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.00126/0.00126, allocations: 119 kB / 19.69 MB, free: 2.199 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.001543/0.001543, allocations: 224.6 kB / 23.01 MB, free: 5.047 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.9313/0.9313, allocations: 150 MB / 463.2 MB, free: 10.47 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.002168/0.002168, allocations: 65.73 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.198, allocations: 89.18 MB / 0.7283 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002038/0.2, allocations: 0.6658 MB / 0.729 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.2016, allocations: 1.104 MB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.2016, allocations: 0 / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.2017, allocations: 3.938 kB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.2017, allocations: 7.922 kB / 0.7301 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.202, allocations: 43.84 kB / 0.7301 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.2021, allocations: 47.89 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.2022, allocations: 8 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.2023, allocations: 23.92 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.2024, allocations: 15.92 kB / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.2024, allocations: 7.938 kB / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.947e-05/0.2025, allocations: 27.97 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.2025, allocations: 19.92 kB / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.2025, allocations: 11.94 kB / 0.7303 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.2027, allocations: 67.98 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2027, allocations: 0 / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2027, allocations: 0 / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2027, allocations: 0 / 0.7303 GB, free: 15.2 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.000528/0.2032, allocations: 290.2 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2033, allocations: 8.031 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.2033, allocations: 38.75 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.2034, allocations: 4.938 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2035, allocations: 118.4 kB / 0.7308 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.2035, allocations: 8.312 kB / 0.7308 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.2036, allocations: 384 / 0.7308 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.2038, allocations: 66.22 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2038, allocations: 7.938 kB / 0.7309 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.2038, allocations: 0 / 0.7309 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2038, allocations: 3.984 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.204, allocations: 47.95 kB / 0.7309 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.2045, allocations: 251.9 kB / 0.7311 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.2047, allocations: 54.48 kB / 0.7312 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.2048, allocations: 28.97 kB / 0.7312 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.2048, allocations: 7.984 kB / 0.7312 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.205, allocations: 67.39 kB / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.205, allocations: 0 / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004267/0.2055, allocations: 121.5 kB / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.2055, allocations: 59.41 kB / 0.7315 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.2056, allocations: 109.8 kB / 0.7316 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.2057, allocations: 25.7 kB / 0.7316 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.2057, allocations: 84.14 kB / 0.7317 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.2057, allocations: 19.83 kB / 0.7317 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.2058, allocations: 25.72 kB / 0.7317 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2059, allocations: 318.8 kB / 0.732 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.2061, allocations: 31.98 kB / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.2062, allocations: 52.27 kB / 0.7321 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.2064, allocations: 92.19 kB / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2064, allocations: 7.875 kB / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002772/0.2067, allocations: 105.5 kB / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2067, allocations: 8.141 kB / 0.7323 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2067, allocations: 8 kB / 0.7323 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2067, allocations: 0 / 0.7323 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.2068, allocations: 19.92 kB / 0.7323 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2068, allocations: 0 / 0.7323 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.522e-05/0.2069, allocations: 12 kB / 0.7324 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.2069, allocations: 0 / 0.7324 GB, free: 12.91 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 0.0001133/0.207, allocations: 124.4 kB / 0.7325 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.2071, allocations: 7.953 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.2073, allocations: 106.1 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2073, allocations: 4 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2073, allocations: 3.938 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2073, allocations: 0 / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.2078, allocations: 322 kB / 0.7329 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2078, allocations: 0 / 0.7329 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.2079, allocations: 15.94 kB / 0.7329 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2079, allocations: 0 / 0.7329 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2079, allocations: 3.984 kB / 0.7329 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2079, allocations: 0 / 0.7329 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2079, allocations: 4 kB / 0.7329 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.2082, allocations: 191.4 kB / 0.7331 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.2082, allocations: 11.89 kB / 0.7331 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.2082, allocations: 7.984 kB / 0.7331 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.2083, allocations: 0 / 0.7331 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.2083, allocations: 15.92 kB / 0.7331 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2083, allocations: 0 / 0.7331 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.503e-05/0.2084, allocations: 91.25 kB / 0.7332 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2084, allocations: 0 / 0.7332 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002514/0.2086, allocations: 12 kB / 0.7332 GB, free: 11.93 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.0006616/0.2093, allocations: 0.728 MB / 0.7339 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.2095, allocations: 63.89 kB / 0.734 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2095, allocations: 320 / 0.734 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.2096, allocations: 31.97 kB / 0.734 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.2099, allocations: 15.81 kB / 0.734 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.2117, allocations: 1.417 MB / 0.7354 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.212, allocations: 0.6807 MB / 0.7361 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.377e-05/0.2121, allocations: 8.094 kB / 0.7361 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.2121, allocations: 19.38 kB / 0.7361 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.2121, allocations: 0 / 0.7361 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.2402, allocations: 1.899 MB / 0.738 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.8, allocations: 15.17 kB / 0.738 GB, free: 7.035 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: 14.44357795198448] Failed to read output from testmodel.py, exit status != 0: 10.90273782913573 10.928515663 10.721058929 Calling exit ...