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: 97.94 kB / 19.59 MB, free: 2.336 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.001411/0.001411, allocations: 189.6 kB / 22.85 MB, free: 5.645 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.441/1.441, allocations: 225.6 MB / 251.5 MB, free: 13.02 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.9232/0.9232, allocations: 144.9 MB / 451.7 MB, free: 5.496 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.001976/0.001976, allocations: 69.11 kB / 0.6256 GB, free: 15.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1891, allocations: 86.7 MB / 0.7103 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005029/0.1941, allocations: 3.185 MB / 0.7134 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1962, allocations: 0.9662 MB / 0.7143 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.1965, allocations: 19.88 kB / 0.7144 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1967, allocations: 71.2 kB / 0.7144 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.197, allocations: 99.11 kB / 0.7145 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.1976, allocations: 250.5 kB / 0.7148 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006189/0.1982, allocations: 0.5543 MB / 0.7153 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003591/0.1985, allocations: 191.8 kB / 0.7155 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.1988, allocations: 215.1 kB / 0.7157 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.1991, allocations: 202.9 kB / 0.7159 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.1992, allocations: 52 kB / 0.7159 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.1993, allocations: 52 kB / 0.716 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.1994, allocations: 119.5 kB / 0.7161 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.1997, allocations: 230.8 kB / 0.7163 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007405/0.2004, allocations: 0.6146 MB / 0.7169 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2004, allocations: 0 / 0.7169 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2004, allocations: 3.938 kB / 0.7169 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.2004, allocations: 4 kB / 0.7169 GB, free: 2.016 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.001334/0.2017, allocations: 0.702 MB / 0.7176 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.2018, allocations: 12.03 kB / 0.7176 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.2019, allocations: 64.55 kB / 0.7177 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006887/0.2026, allocations: 347.1 kB / 0.718 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.2026, allocations: 37.34 kB / 0.718 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.475e-05/0.2027, allocations: 40.38 kB / 0.7181 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007061/0.2034, allocations: 401.9 kB / 0.7185 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.2034, allocations: 0 / 0.7185 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.2035, allocations: 19.98 kB / 0.7185 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2035, allocations: 8 kB / 0.7185 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.2041, allocations: 259.8 kB / 0.7187 GB, free: 76 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.2059, allocations: 1.263 MB / 0.72 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007889/0.2067, allocations: 302.4 kB / 0.7203 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.207, allocations: 128.8 kB / 0.7204 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.207, allocations: 4 kB / 0.7204 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003881/0.2074, allocations: 181.9 kB / 0.7206 GB, free: 14.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.655e-06/0.2074, allocations: 4 kB / 0.7206 GB, free: 14.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0009092/0.2083, allocations: 374.9 kB / 0.7209 GB, free: 13.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.2084, allocations: 89.03 kB / 0.721 GB, free: 13.63 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.2088, allocations: 349.7 kB / 0.7213 GB, free: 13.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.2089, allocations: 37.7 kB / 0.7214 GB, free: 13.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.2091, allocations: 241.2 kB / 0.7216 GB, free: 13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.2092, allocations: 107.1 kB / 0.7217 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.2093, allocations: 78.06 kB / 0.7218 GB, free: 12.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.2095, allocations: 346.8 kB / 0.7221 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.2097, allocations: 100.7 kB / 0.7222 GB, free: 12.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.21, allocations: 172.6 kB / 0.7224 GB, free: 12.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.2105, allocations: 259.9 kB / 0.7226 GB, free: 11.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2105, allocations: 0 / 0.7226 GB, free: 11.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006755/0.2112, allocations: 351.3 kB / 0.723 GB, free: 11.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.2112, allocations: 8 kB / 0.723 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2112, allocations: 0 / 0.723 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.2112, allocations: 4 kB / 0.723 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.2115, allocations: 72.08 kB / 0.723 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2115, allocations: 4 kB / 0.723 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.2117, allocations: 43.66 kB / 0.7231 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.2118, allocations: 16 kB / 0.7231 GB, free: 11.41 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.0002184/0.212, allocations: 177.7 kB / 0.7233 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.2121, allocations: 39.77 kB / 0.7233 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.2122, allocations: 44.25 kB / 0.7233 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.2122, allocations: 15.92 kB / 0.7234 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.2122, allocations: 4 kB / 0.7234 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.2122, allocations: 0 / 0.7234 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.2135, allocations: 0.78 MB / 0.7241 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.2135, allocations: 3.984 kB / 0.7241 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.2137, allocations: 43.98 kB / 0.7242 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2137, allocations: 7.938 kB / 0.7242 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.2137, allocations: 11.98 kB / 0.7242 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2138, allocations: 4 kB / 0.7242 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2138, allocations: 0 / 0.7242 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009101/0.2147, allocations: 0.516 MB / 0.7247 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.2148, allocations: 71.59 kB / 0.7248 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.2148, allocations: 4 kB / 0.7248 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.215, allocations: 20.05 kB / 0.7248 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/0.2151, allocations: 23.95 kB / 0.7248 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.2151, allocations: 15.98 kB / 0.7248 GB, free: 9.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002649/0.2154, allocations: 235.2 kB / 0.7251 GB, free: 9.328 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2154, allocations: 0 / 0.7251 GB, free: 9.328 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003727/0.2158, allocations: 99.7 kB / 0.7252 GB, free: 9.23 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.0001447/0.2159, allocations: 107.2 kB / 0.7253 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005994/0.2165, allocations: 247.7 kB / 0.7255 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2165, allocations: 0 / 0.7255 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.2168, allocations: 131.8 kB / 0.7256 GB, free: 8.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.2174, allocations: 86.72 kB / 0.7257 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.219, allocations: 0.8395 MB / 0.7265 GB, free: 7.785 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.2194, allocations: 0.8152 MB / 0.7273 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.2195, allocations: 35.42 kB / 0.7273 GB, free: 6.91 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.2195, allocations: 0 / 0.7273 GB, free: 6.91 MB / 0.545 GB Notification: Performance of Templates: time 0.00861/0.2282, allocations: 4.892 MB / 0.7321 GB, free: 2.031 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: 8.523904885005322] Failed to read output from testmodel.py, exit status != 0: 0.23668403401097748 0.25181871 0.048260710000000005 Calling exit ...