Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001338/0.001338, allocations: 105 kB / 20.44 MB, free: 1.504 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.001522/0.001522, allocations: 209.9 kB / 23.76 MB, free: 4.727 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.9617/0.9617, allocations: 150 MB / 463.9 MB, free: 10.52 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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [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.002059/0.002059, allocations: 70.77 kB / 0.6425 GB, free: 9.938 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1885, allocations: 89.17 MB / 0.7296 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002185/0.1907, allocations: 0.6659 MB / 0.7302 GB, free: 156 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1923, allocations: 1.108 MB / 0.7313 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.1923, allocations: 3.938 kB / 0.7313 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.1924, allocations: 3.938 kB / 0.7313 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.1925, allocations: 11.88 kB / 0.7313 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.1928, allocations: 43.89 kB / 0.7314 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.1929, allocations: 51.84 kB / 0.7314 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.193, allocations: 8 kB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.1931, allocations: 23.91 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.1931, allocations: 27.91 kB / 0.7315 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1932, allocations: 4 kB / 0.7315 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.1932, allocations: 23.92 kB / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.1933, allocations: 8 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.1933, allocations: 27.84 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1935, allocations: 67.73 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1935, allocations: 3.938 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1935, allocations: 0 / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.1935, allocations: 0 / 0.7316 GB, free: 14.73 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006455/0.1941, allocations: 294.2 kB / 0.7319 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1942, allocations: 12.03 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.573e-05/0.1943, allocations: 8.891 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1944, allocations: 106.5 kB / 0.732 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1944, allocations: 8.375 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1944, allocations: 8.375 kB / 0.732 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.1946, allocations: 66.16 kB / 0.7321 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1946, allocations: 192 / 0.7321 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1946, allocations: 3.938 kB / 0.7321 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1947, allocations: 4 kB / 0.7321 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.1948, allocations: 39.95 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.1953, allocations: 251.9 kB / 0.7324 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.1955, allocations: 62.42 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.563e-05/0.1956, allocations: 24.97 kB / 0.7324 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.1956, allocations: 7.969 kB / 0.7324 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.1958, allocations: 79.45 kB / 0.7325 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1958, allocations: 0 / 0.7325 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004258/0.1963, allocations: 121.6 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.1963, allocations: 59.33 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.1964, allocations: 101.9 kB / 0.7328 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.1965, allocations: 33.7 kB / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.1965, allocations: 88.12 kB / 0.7329 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.1966, allocations: 19.8 kB / 0.7329 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.1966, allocations: 25.7 kB / 0.733 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1968, allocations: 318.8 kB / 0.7333 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1969, allocations: 23.97 kB / 0.7333 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.197, allocations: 64.27 kB / 0.7333 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.1972, allocations: 88.14 kB / 0.7334 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1972, allocations: 11.94 kB / 0.7334 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000285/0.1975, allocations: 113.5 kB / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1975, allocations: 7.984 kB / 0.7336 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1975, allocations: 0 / 0.7336 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1975, allocations: 4 kB / 0.7336 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1976, allocations: 16.42 kB / 0.7336 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1977, allocations: 8.062 kB / 0.7336 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.1977, allocations: 19.89 kB / 0.7336 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1977, allocations: 8 kB / 0.7336 GB, free: 12.44 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 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.00017/0.1979, allocations: 121.8 kB / 0.7337 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.1979, allocations: 0 / 0.7337 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.1982, allocations: 114.2 kB / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1982, allocations: 0 / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1982, allocations: 4 kB / 0.7338 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1982, allocations: 0 / 0.7338 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.1987, allocations: 333.6 kB / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1987, allocations: 0 / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.1988, allocations: 11.98 kB / 0.7342 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1988, allocations: 0 / 0.7342 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.1988, allocations: 4 kB / 0.7342 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1988, allocations: 3.938 kB / 0.7342 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1988, allocations: 4 kB / 0.7342 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.1991, allocations: 195.4 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.1991, allocations: 7.891 kB / 0.7344 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.1991, allocations: 4 kB / 0.7344 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-05/0.1992, allocations: 11.98 kB / 0.7344 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.1993, allocations: 11.98 kB / 0.7344 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1993, allocations: 3.938 kB / 0.7344 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.1993, allocations: 87.27 kB / 0.7345 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1993, allocations: 0 / 0.7345 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002449/0.1996, allocations: 12 kB / 0.7345 GB, free: 11.45 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 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001533/0.1997, allocations: 101.2 kB / 0.7346 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.2, allocations: 79.81 kB / 0.7347 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2, allocations: 0 / 0.7347 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.2001, allocations: 31.92 kB / 0.7347 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.2004, allocations: 13.7 kB / 0.7347 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.2008, allocations: 167.5 kB / 0.7349 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.2011, allocations: 0.6886 MB / 0.7355 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.2012, allocations: 15.44 kB / 0.7356 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2012, allocations: 0 / 0.7356 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.002643/0.2038, allocations: 0.9074 MB / 0.7364 GB, free: 9.391 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.960559739964083] Failed to read output from testmodel.py, exit status != 0: 0.21251448499970138 0.229945586 0.033036244 Calling exit ...