Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001794/0.001794, 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.002013/0.002013, allocations: 215.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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9639/0.9639, allocations: 149.9 MB / 463 MB, free: 10.36 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: translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [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.002213/0.002213, allocations: 70.41 kB / 0.6415 GB, free: 9.648 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1942, allocations: 89.17 MB / 0.7286 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001995/0.1962, allocations: 0.6581 MB / 0.7293 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1977, allocations: 1.108 MB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.1978, allocations: 0 / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.1978, allocations: 3.938 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.066e-05/0.1979, allocations: 7.922 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.1982, allocations: 47.83 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.1983, allocations: 75.77 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.1984, allocations: 8 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.912e-05/0.1985, allocations: 27.92 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.1985, allocations: 35.88 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1985, allocations: 4 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.894e-05/0.1986, allocations: 20 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.1986, allocations: 19.92 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.1987, allocations: 23.92 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1989, allocations: 83.61 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1989, allocations: 4 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1989, allocations: 0 / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.1989, allocations: 0 / 0.7307 GB, free: 14.41 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000632/0.1995, allocations: 310.1 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.1995, allocations: 8.031 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.743e-05/0.1996, allocations: 8.922 kB / 0.731 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1997, allocations: 110.5 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.1997, allocations: 8.375 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1998, allocations: 4.375 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.2, allocations: 82.14 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2, allocations: 4.188 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2, allocations: 11.88 kB / 0.7312 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2, allocations: 4 kB / 0.7312 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.2002, allocations: 47.95 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.2007, allocations: 244.4 kB / 0.7315 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.2009, allocations: 70.55 kB / 0.7316 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.201, allocations: 48.89 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.2011, allocations: 0 / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.2013, allocations: 95.3 kB / 0.7317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.2013, allocations: 0 / 0.7317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005093/0.2018, allocations: 173.5 kB / 0.7319 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.2019, allocations: 55.41 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.202, allocations: 109.8 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.202, allocations: 33.7 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.2021, allocations: 88.36 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.2021, allocations: 31.78 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.2022, allocations: 33.7 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2023, allocations: 318.8 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.2024, allocations: 39.92 kB / 0.7325 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.2026, allocations: 62.53 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.2028, allocations: 106 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2028, allocations: 0 / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003326/0.2032, allocations: 141.5 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2032, allocations: 8 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2032, allocations: 0 / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2032, allocations: 0 / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.2033, allocations: 27.92 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2033, allocations: 0 / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.2034, allocations: 20 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.2034, allocations: 7.984 kB / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001234/0.2036, allocations: 133.7 kB / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.2036, allocations: 4 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.2039, allocations: 145.9 kB / 0.7332 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2039, allocations: 4.188 kB / 0.7332 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2039, allocations: 3.938 kB / 0.7332 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2039, allocations: 4.469 kB / 0.7332 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.2045, allocations: 358 kB / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2045, allocations: 0 / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.2046, allocations: 11.98 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2046, allocations: 0 / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.2046, allocations: 4 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2046, allocations: 0 / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2046, allocations: 3.984 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.2049, allocations: 247.3 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-06/0.205, allocations: 0 / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.205, allocations: 4 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2051, allocations: 7.984 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.2051, allocations: 11.98 kB / 0.7338 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.2051, allocations: 0 / 0.7338 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.2052, allocations: 87.27 kB / 0.7339 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2052, allocations: 0 / 0.7339 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002658/0.2055, allocations: 20 kB / 0.7339 GB, free: 10.85 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001613/0.2056, allocations: 113 kB / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.2059, allocations: 99.75 kB / 0.7341 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2059, allocations: 0 / 0.7341 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.2061, allocations: 43.95 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.2063, allocations: 8 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.2067, allocations: 167.2 kB / 0.7343 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.178e-05/0.2068, allocations: 71.33 kB / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.2069, allocations: 8.375 kB / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.2069, allocations: 19.42 kB / 0.7344 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2069, allocations: 0 / 0.7344 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of Templates: time 0.004054/0.2109, allocations: 1.097 MB / 0.7355 GB, free: 9.207 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.865853603929281] Failed to read output from testmodel.py, exit status != 0: 0.22155743278563023 0.23523139 0.03314621 Calling exit ...