Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.001348/0.001348, allocations: 110 kB / 18.93 MB, free: 2.945 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.00148/0.00148, allocations: 192 kB / 22.23 MB, free: 5.16 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.394/1.394, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8918/0.8918, allocations: 145 MB / 451.2 MB, free: 5.48 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 68.48 kB / 0.6253 GB, free: 15.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.197, allocations: 86.7 MB / 0.71 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004791/0.2017, allocations: 3.173 MB / 0.7131 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.2035, allocations: 0.9662 MB / 0.714 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.2038, allocations: 23.81 kB / 0.714 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.204, allocations: 75.19 kB / 0.7141 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.2042, allocations: 103.1 kB / 0.7142 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.2048, allocations: 258.1 kB / 0.7145 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006357/0.2054, allocations: 0.5544 MB / 0.715 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/0.2058, allocations: 183.8 kB / 0.7152 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.2061, allocations: 215.1 kB / 0.7154 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.2064, allocations: 206.9 kB / 0.7156 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.696e-05/0.2065, allocations: 55.94 kB / 0.7156 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.2065, allocations: 52 kB / 0.7157 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.2067, allocations: 115.6 kB / 0.7158 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.2069, allocations: 230.8 kB / 0.716 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007377/0.2076, allocations: 0.6146 MB / 0.7166 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.2076, allocations: 3.984 kB / 0.7166 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2076, allocations: 0 / 0.7166 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.2076, allocations: 0 / 0.7166 GB, free: 1.957 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001328/0.209, allocations: 0.702 MB / 0.7173 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.209, allocations: 16.02 kB / 0.7173 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.2091, allocations: 56.56 kB / 0.7174 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.2099, allocations: 359.1 kB / 0.7177 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.2099, allocations: 29.38 kB / 0.7177 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.438e-05/0.21, allocations: 40.38 kB / 0.7178 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006958/0.2107, allocations: 393.9 kB / 0.7182 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.2107, allocations: 3.984 kB / 0.7182 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.2107, allocations: 20 kB / 0.7182 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.2107, allocations: 8 kB / 0.7182 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005601/0.2113, allocations: 259.8 kB / 0.7184 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.2132, allocations: 1.27 MB / 0.7197 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/0.2139, allocations: 300 kB / 0.72 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.2142, allocations: 132.8 kB / 0.7201 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.2142, allocations: 8 kB / 0.7201 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003629/0.2146, allocations: 178 kB / 0.7203 GB, free: 14.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.2146, allocations: 0 / 0.7203 GB, free: 14.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008521/0.2155, allocations: 378.9 kB / 0.7206 GB, free: 13.67 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.2155, allocations: 89.05 kB / 0.7207 GB, free: 13.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.216, allocations: 345.7 kB / 0.721 GB, free: 13.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.216, allocations: 41.69 kB / 0.7211 GB, free: 13.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.2163, allocations: 237.2 kB / 0.7213 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.2164, allocations: 107.1 kB / 0.7214 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.2165, allocations: 70.06 kB / 0.7215 GB, free: 12.76 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002336/0.2167, allocations: 350.8 kB / 0.7218 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.217, allocations: 100.7 kB / 0.7219 GB, free: 12.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.2173, allocations: 172.6 kB / 0.7221 GB, free: 12.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.2179, allocations: 255.9 kB / 0.7223 GB, free: 11.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.2179, allocations: 3.984 kB / 0.7223 GB, free: 11.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007122/0.2186, allocations: 355.3 kB / 0.7227 GB, free: 11.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.2186, allocations: 4 kB / 0.7227 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.2186, allocations: 7.984 kB / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.2187, allocations: 0 / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.219, allocations: 67.91 kB / 0.7227 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.219, allocations: 4 kB / 0.7227 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.2192, allocations: 39.72 kB / 0.7228 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.2192, allocations: 16.12 kB / 0.7228 GB, free: 11.36 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002486/0.2194, allocations: 181.7 kB / 0.723 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.2195, allocations: 39.77 kB / 0.723 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.2196, allocations: 52.23 kB / 0.723 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.2196, allocations: 4 kB / 0.7231 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.2197, allocations: 0 / 0.7231 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2197, allocations: 0 / 0.7231 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.221, allocations: 0.7917 MB / 0.7238 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.221, allocations: 0 / 0.7238 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.2213, allocations: 43.98 kB / 0.7239 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2213, allocations: 0 / 0.7239 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.2213, allocations: 19.86 kB / 0.7239 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.2213, allocations: 4 kB / 0.7239 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2213, allocations: 0 / 0.7239 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000927/0.2222, allocations: 0.5199 MB / 0.7244 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.2224, allocations: 59.66 kB / 0.7245 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.2224, allocations: 12 kB / 0.7245 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.2226, allocations: 15.98 kB / 0.7245 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.2227, allocations: 27.94 kB / 0.7245 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.2227, allocations: 8 kB / 0.7245 GB, free: 9.508 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002596/0.2229, allocations: 247.2 kB / 0.7248 GB, free: 9.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2229, allocations: 0 / 0.7248 GB, free: 9.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003445/0.2233, allocations: 91.72 kB / 0.7248 GB, free: 9.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001435/0.2234, allocations: 108.5 kB / 0.7249 GB, free: 9.066 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005754/0.224, allocations: 252.1 kB / 0.7252 GB, free: 8.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.224, allocations: 4 kB / 0.7252 GB, free: 8.816 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.2243, allocations: 123.8 kB / 0.7253 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.2248, allocations: 88.89 kB / 0.7254 GB, free: 8.613 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.2267, allocations: 0.8183 MB / 0.7262 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.2272, allocations: 0.8113 MB / 0.727 GB, free: 6.922 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.2273, allocations: 47.27 kB / 0.727 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.2274, allocations: 27.44 kB / 0.7271 GB, free: 6.852 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.2274, allocations: 0 / 0.7271 GB, free: 6.852 MB / 0.545 GB Notification: Performance of Templates: time 0.009338/0.2368, allocations: 3.899 MB / 0.7309 GB, free: 2.988 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.829892844893038] Failed to read output from testmodel.py, exit status != 0: 0.2447715848684311 0.258884009 0.048358584 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe6acae57b0>