Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001389/0.001389, 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.001497/0.001497, allocations: 191.5 kB / 22.85 MB, free: 5.664 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.538/1.538, allocations: 225.6 MB / 251.5 MB, free: 13.06 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.9603/0.9603, allocations: 149.5 MB / 456.3 MB, free: 1.293 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.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 71.88 kB / 0.6324 GB, free: 9.125 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2075, allocations: 87.87 MB / 0.7182 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002189/0.2097, allocations: 0.8569 MB / 0.7191 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.2109, allocations: 0.8818 MB / 0.7199 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.2109, allocations: 4 kB / 0.7199 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.211, allocations: 7.875 kB / 0.72 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.69e-05/0.2111, allocations: 19.73 kB / 0.72 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.2113, allocations: 43.94 kB / 0.72 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.2114, allocations: 107.7 kB / 0.7201 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2116, allocations: 25.05 kB / 0.7201 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.2117, allocations: 55.77 kB / 0.7202 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.2118, allocations: 55.77 kB / 0.7203 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.2118, allocations: 12 kB / 0.7203 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.965e-05/0.2118, allocations: 8 kB / 0.7203 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.2119, allocations: 31.84 kB / 0.7203 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.212, allocations: 51.72 kB / 0.7203 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.2121, allocations: 115.5 kB / 0.7205 GB, free: 14.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2121, allocations: 3.938 kB / 0.7205 GB, free: 14.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2121, allocations: 0 / 0.7205 GB, free: 14.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2121, allocations: 0 / 0.7205 GB, free: 14.9 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007383/0.2129, allocations: 365.8 kB / 0.7208 GB, free: 14.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2129, allocations: 12.62 kB / 0.7208 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.213, allocations: 16.78 kB / 0.7208 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.2135, allocations: 192.7 kB / 0.721 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2135, allocations: 8.375 kB / 0.721 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.2135, allocations: 12.38 kB / 0.721 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.2138, allocations: 116.7 kB / 0.7212 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2138, allocations: 3.938 kB / 0.7212 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2139, allocations: 0 / 0.7212 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.2139, allocations: 4 kB / 0.7212 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.2142, allocations: 75.88 kB / 0.7212 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.2148, allocations: 476.1 kB / 0.7217 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.2151, allocations: 107.8 kB / 0.7218 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.2153, allocations: 54.59 kB / 0.7218 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2153, allocations: 8 kB / 0.7219 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.2153, allocations: 46.48 kB / 0.7219 GB, free: 13.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.2153, allocations: 0 / 0.7219 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0006598/0.216, allocations: 157.7 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.2161, allocations: 102.8 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.2162, allocations: 154.2 kB / 0.7223 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.2162, allocations: 25.7 kB / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.2163, allocations: 112.3 kB / 0.7224 GB, free: 12.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.2164, allocations: 23.78 kB / 0.7224 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.2164, allocations: 25.66 kB / 0.7225 GB, free: 12.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2166, allocations: 334.8 kB / 0.7228 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.2167, allocations: 43.95 kB / 0.7228 GB, free: 12.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.2169, allocations: 77.11 kB / 0.7229 GB, free: 12.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.2172, allocations: 98.45 kB / 0.723 GB, free: 12.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2172, allocations: 0 / 0.723 GB, free: 12.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003947/0.2176, allocations: 141.5 kB / 0.7231 GB, free: 11.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2176, allocations: 8 kB / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2177, allocations: 4 kB / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2177, allocations: 0 / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2178, allocations: 19.97 kB / 0.7232 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.2178, allocations: 4 kB / 0.7232 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.218, allocations: 11.98 kB / 0.7232 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.218, allocations: 4 kB / 0.7232 GB, free: 11.85 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: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001189/0.2181, allocations: 128.4 kB / 0.7233 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.2182, allocations: 23.83 kB / 0.7233 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.2184, allocations: 85.94 kB / 0.7234 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2184, allocations: 3.984 kB / 0.7234 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2184, allocations: 0 / 0.7234 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2185, allocations: 0 / 0.7234 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.2188, allocations: 176.7 kB / 0.7236 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2188, allocations: 7.938 kB / 0.7236 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.2189, allocations: 19.98 kB / 0.7236 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2189, allocations: 384 / 0.7236 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.2189, allocations: 7.984 kB / 0.7236 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.2189, allocations: 3.938 kB / 0.7236 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2189, allocations: 0 / 0.7236 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.2194, allocations: 377.9 kB / 0.724 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.2194, allocations: 11.89 kB / 0.724 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.2194, allocations: 7.984 kB / 0.724 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.2197, allocations: 11.98 kB / 0.724 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.098e-05/0.2197, allocations: 23.95 kB / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.2198, allocations: 4 kB / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.836e-05/0.2198, allocations: 118.2 kB / 0.7242 GB, free: 10.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2198, allocations: 0 / 0.7242 GB, free: 10.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003141/0.2202, allocations: 23.94 kB / 0.7242 GB, free: 10.75 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001237/0.2203, allocations: 99.31 kB / 0.7243 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.2207, allocations: 103.8 kB / 0.7244 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2207, allocations: 4 kB / 0.7244 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.2209, allocations: 47.91 kB / 0.7244 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.2213, allocations: 12 kB / 0.7244 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.2217, allocations: 199.4 kB / 0.7246 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2221, allocations: 0.7042 MB / 0.7253 GB, free: 9.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.271e-05/0.2222, allocations: 16.64 kB / 0.7253 GB, free: 9.504 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.2222, allocations: 15.44 kB / 0.7253 GB, free: 9.488 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.2222, allocations: 0 / 0.7253 GB, free: 9.488 MB / 0.545 GB Notification: Performance of Templates: time 0.004691/0.2269, allocations: 1.412 MB / 0.7267 GB, free: 8.082 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0073984535411] Failed to read output from testmodel.py, exit status != 0: 0.23647556081414223 0.253839009 0.037430842 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7f236617b0>