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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 114.4 kB / 19.59 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 189.2 kB / 22.85 MB, free: 5.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9461/0.9461, allocations: 149.5 MB / 456.3 MB, free: 1.277 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.89 kB / 0.6324 GB, free: 9.176 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1977, allocations: 87.87 MB / 0.7182 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002232/0.2, allocations: 0.6645 MB / 0.7188 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.2016, allocations: 1.073 MB / 0.7199 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.2017, allocations: 4 kB / 0.7199 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.2017, allocations: 0 / 0.7199 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.697e-05/0.2018, allocations: 11.86 kB / 0.7199 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.2021, allocations: 43.89 kB / 0.7199 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.2022, allocations: 51.84 kB / 0.72 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2023, allocations: 12 kB / 0.72 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.2024, allocations: 19.92 kB / 0.72 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.409e-05/0.2025, allocations: 23.91 kB / 0.72 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.2025, allocations: 12 kB / 0.7201 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.738e-05/0.2026, allocations: 11.98 kB / 0.7201 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.2026, allocations: 19.92 kB / 0.7201 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.2026, allocations: 15.92 kB / 0.7201 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.2028, allocations: 63.72 kB / 0.7202 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2028, allocations: 3.938 kB / 0.7202 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2028, allocations: 0 / 0.7202 GB, free: 15.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2028, allocations: 0 / 0.7202 GB, free: 15.18 MB / 0.545 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.0006403/0.2035, allocations: 290.2 kB / 0.7204 GB, free: 14.87 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2035, allocations: 12.62 kB / 0.7205 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.2036, allocations: 4.891 kB / 0.7205 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2037, allocations: 114.5 kB / 0.7206 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2037, allocations: 8.375 kB / 0.7206 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.2037, allocations: 384 / 0.7206 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.204, allocations: 74.14 kB / 0.7207 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.204, allocations: 192 / 0.7207 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.204, allocations: 7.938 kB / 0.7207 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.204, allocations: 4 kB / 0.7207 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2042, allocations: 39.95 kB / 0.7207 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.2047, allocations: 247.9 kB / 0.7209 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.2049, allocations: 54.48 kB / 0.721 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.205, allocations: 40.89 kB / 0.721 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.205, allocations: 0 / 0.721 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.2053, allocations: 75.38 kB / 0.7211 GB, free: 14.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2053, allocations: 0 / 0.7211 GB, free: 14.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004752/0.2058, allocations: 125.6 kB / 0.7212 GB, free: 13.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.2058, allocations: 51.48 kB / 0.7213 GB, free: 13.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.2059, allocations: 117.8 kB / 0.7214 GB, free: 13.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.206, allocations: 25.7 kB / 0.7214 GB, free: 13.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.206, allocations: 92.09 kB / 0.7215 GB, free: 13.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.206, allocations: 15.83 kB / 0.7215 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.2061, allocations: 25.72 kB / 0.7215 GB, free: 13.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2062, allocations: 314.8 kB / 0.7218 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.2064, allocations: 35.92 kB / 0.7219 GB, free: 13.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.2065, allocations: 60.27 kB / 0.7219 GB, free: 13.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.2067, allocations: 96.11 kB / 0.722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2067, allocations: 0 / 0.722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000294/0.207, allocations: 121.5 kB / 0.7221 GB, free: 12.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2071, allocations: 4.125 kB / 0.7221 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.2071, allocations: 4 kB / 0.7221 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2071, allocations: 4 kB / 0.7221 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.2072, allocations: 16.17 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2072, allocations: 0 / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/0.2073, allocations: 23.86 kB / 0.7222 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.2073, allocations: 0 / 0.7222 GB, free: 12.9 MB / 0.545 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 9.848e-05/0.2074, allocations: 121.8 kB / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.2074, allocations: 3.953 kB / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.2077, allocations: 106 kB / 0.7224 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2077, allocations: 4 kB / 0.7224 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2077, allocations: 0 / 0.7224 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2077, allocations: 3.984 kB / 0.7224 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.2082, allocations: 329.5 kB / 0.7227 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2082, allocations: 0 / 0.7227 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.2083, allocations: 19.98 kB / 0.7227 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2083, allocations: 0 / 0.7227 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2083, allocations: 4 kB / 0.7227 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2083, allocations: 0 / 0.7227 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2083, allocations: 0 / 0.7227 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.2086, allocations: 203.3 kB / 0.7229 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.2086, allocations: 7.938 kB / 0.7229 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.2087, allocations: 4 kB / 0.723 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.2088, allocations: 7.984 kB / 0.723 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.2088, allocations: 4 kB / 0.723 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.2088, allocations: 12.17 kB / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.015e-05/0.2089, allocations: 83.28 kB / 0.7231 GB, free: 11.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2089, allocations: 0 / 0.7231 GB, free: 11.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002528/0.2091, allocations: 19.94 kB / 0.7231 GB, free: 11.9 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: 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.0001564/0.2093, allocations: 105.9 kB / 0.7232 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000305/0.2096, allocations: 71.88 kB / 0.7232 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2096, allocations: 0 / 0.7232 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.2097, allocations: 36.45 kB / 0.7233 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.21, allocations: 10.66 kB / 0.7233 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.2104, allocations: 142.3 kB / 0.7234 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2107, allocations: 0.6845 MB / 0.7241 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.313e-05/0.2108, allocations: 4 kB / 0.7241 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.2108, allocations: 15.42 kB / 0.7241 GB, free: 10.79 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.2108, allocations: 0 / 0.7241 GB, free: 10.79 MB / 0.545 GB Notification: Performance of Templates: time 0.003925/0.2147, allocations: 0.8632 MB / 0.725 GB, free: 9.922 MB / 0.545 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: 5.730655107647181] Failed to read output from testmodel.py, exit status != 0: 0.22316175140440464 0.237780706 0.031614986000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1d6fba97b0>