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.002124/0.002124, allocations: 109.1 kB / 17.12 MB, free: 5.926 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.002662/0.002662, allocations: 205 kB / 20.09 MB, free: 2.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.931/1.931, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9816/0.9816, allocations: 150 MB / 459.5 MB, free: 5.688 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: 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.002025/0.002025, allocations: 63.84 kB / 0.6366 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1914, allocations: 89.13 MB / 0.7236 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002323/0.1937, allocations: 0.6745 MB / 0.7243 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1953, allocations: 1.118 MB / 0.7254 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.1954, allocations: 0 / 0.7254 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.1954, allocations: 3.938 kB / 0.7254 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.764e-05/0.1955, allocations: 11.92 kB / 0.7254 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.1958, allocations: 43.83 kB / 0.7254 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.196, allocations: 71.83 kB / 0.7255 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1961, allocations: 15.98 kB / 0.7255 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.1962, allocations: 27.92 kB / 0.7255 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.016e-05/0.1963, allocations: 31.84 kB / 0.7256 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.1963, allocations: 8 kB / 0.7256 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.682e-05/0.1964, allocations: 27.97 kB / 0.7256 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.1964, allocations: 11.98 kB / 0.7256 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.1964, allocations: 27.86 kB / 0.7256 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.1966, allocations: 79.69 kB / 0.7257 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1966, allocations: 0 / 0.7257 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1966, allocations: 0 / 0.7257 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.1966, allocations: 7.984 kB / 0.7257 GB, free: 1.426 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008765/0.1975, allocations: 391.1 kB / 0.7261 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1976, allocations: 8.031 kB / 0.7261 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1977, allocations: 12.89 kB / 0.7261 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.1978, allocations: 160.4 kB / 0.7263 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.1979, allocations: 8.359 kB / 0.7263 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.1979, allocations: 8.375 kB / 0.7263 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.1981, allocations: 82.16 kB / 0.7263 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1981, allocations: 192 / 0.7263 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1981, allocations: 7.938 kB / 0.7264 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1981, allocations: 3.984 kB / 0.7264 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.1984, allocations: 55.89 kB / 0.7264 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.1989, allocations: 312.7 kB / 0.7267 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1992, allocations: 86.41 kB / 0.7268 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1993, allocations: 40.83 kB / 0.7268 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.1993, allocations: 192 / 0.7268 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.1995, allocations: 91.31 kB / 0.7269 GB, free: 16 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.1995, allocations: 0 / 0.7269 GB, free: 16 kB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0005362/0.2001, allocations: 169.6 kB / 0.7271 GB, free: 15.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.2001, allocations: 59.39 kB / 0.7271 GB, free: 15.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.2002, allocations: 109.8 kB / 0.7272 GB, free: 15.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.2003, allocations: 29.69 kB / 0.7273 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.2003, allocations: 92.38 kB / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.2004, allocations: 27.78 kB / 0.7274 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.2004, allocations: 25.72 kB / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.2006, allocations: 322.8 kB / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.2007, allocations: 35.97 kB / 0.7278 GB, free: 15.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.2009, allocations: 64.03 kB / 0.7278 GB, free: 15.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.2011, allocations: 117.6 kB / 0.7279 GB, free: 14.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2011, allocations: 0 / 0.7279 GB, free: 14.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003464/0.2015, allocations: 141.5 kB / 0.7281 GB, free: 14.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2015, allocations: 4 kB / 0.7281 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2015, allocations: 8.047 kB / 0.7281 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.2015, allocations: 4 kB / 0.7281 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.2017, allocations: 19.92 kB / 0.7281 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2017, allocations: 4 kB / 0.7281 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.2017, allocations: 12.19 kB / 0.7281 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.2018, allocations: 8 kB / 0.7281 GB, free: 14.71 MB / 0.545 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.0001102/0.2019, allocations: 125.7 kB / 0.7282 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.2019, allocations: 12.36 kB / 0.7282 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.2023, allocations: 149.9 kB / 0.7284 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2023, allocations: 3.984 kB / 0.7284 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2023, allocations: 0 / 0.7284 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2023, allocations: 0 / 0.7284 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.2029, allocations: 418.2 kB / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2029, allocations: 0 / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.2029, allocations: 15.98 kB / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2029, allocations: 0 / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2029, allocations: 0 / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2029, allocations: 0 / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2029, allocations: 0 / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.2033, allocations: 243.3 kB / 0.729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.2034, allocations: 81.11 kB / 0.7291 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.2034, allocations: 4 kB / 0.7291 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.2035, allocations: 11.98 kB / 0.7291 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.2036, allocations: 7.984 kB / 0.7291 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.2036, allocations: 3.938 kB / 0.7291 GB, free: 13.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.068e-05/0.2036, allocations: 87.28 kB / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2036, allocations: 0 / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002444/0.2039, allocations: 19.98 kB / 0.7292 GB, free: 13.44 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 (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.0001877/0.2041, allocations: 107.2 kB / 0.7294 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.2044, allocations: 95.81 kB / 0.7294 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2044, allocations: 288 / 0.7294 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.2045, allocations: 47.91 kB / 0.7295 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.2048, allocations: 13.7 kB / 0.7295 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.2052, allocations: 174.6 kB / 0.7297 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.2056, allocations: 0.6851 MB / 0.7303 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.2057, allocations: 8.422 kB / 0.7303 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.2057, allocations: 11.44 kB / 0.7304 GB, free: 12.25 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.2057, allocations: 0 / 0.7304 GB, free: 12.25 MB / 0.545 GB Notification: Performance of Templates: time 0.004341/0.21, allocations: 1.051 MB / 0.7314 GB, free: 11.21 MB / 0.545 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: 6.299567058915272] Failed to read output from testmodel.py, exit status != 0: 0.21804720885120332 0.231327467 0.031981326000000004 Calling exit ...