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.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.001457/0.001457, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001632/0.001632, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 179] 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.8609/0.8609, allocations: 145 MB / 458.2 MB, free: 15.53 MB / 366.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.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(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: BuildSysPro 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.001957/0.001957, allocations: 70.36 kB / 0.6344 GB, free: 6.859 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1671, allocations: 87.88 MB / 0.7202 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004652/0.1718, allocations: 3.204 MB / 0.7233 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1736, allocations: 1.036 MB / 0.7243 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.1738, allocations: 19.88 kB / 0.7244 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.1741, allocations: 75.2 kB / 0.7244 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.1743, allocations: 91.17 kB / 0.7245 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005701/0.1748, allocations: 266.3 kB / 0.7248 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005818/0.1754, allocations: 0.5505 MB / 0.7253 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.1758, allocations: 175.9 kB / 0.7255 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.1761, allocations: 231 kB / 0.7257 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.1764, allocations: 206.9 kB / 0.7259 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.1764, allocations: 52 kB / 0.7259 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.1765, allocations: 56 kB / 0.726 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.974e-05/0.1766, allocations: 107.6 kB / 0.7261 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.1768, allocations: 234.7 kB / 0.7263 GB, free: 8.648 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006651/0.1775, allocations: 0.6223 MB / 0.7269 GB, free: 8.023 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1775, allocations: 0 / 0.7269 GB, free: 8.023 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.093e-06/0.1775, allocations: 4 kB / 0.7269 GB, free: 8.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.1775, allocations: 0 / 0.7269 GB, free: 8.02 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001204/0.1787, allocations: 0.702 MB / 0.7276 GB, free: 7.285 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1787, allocations: 12.03 kB / 0.7276 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.1789, allocations: 64.59 kB / 0.7277 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/0.1796, allocations: 367 kB / 0.728 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.1796, allocations: 29.38 kB / 0.7281 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.1797, allocations: 40.36 kB / 0.7281 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007021/0.1804, allocations: 405.9 kB / 0.7285 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1804, allocations: 0 / 0.7285 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.1805, allocations: 16 kB / 0.7285 GB, free: 6.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1805, allocations: 8 kB / 0.7285 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005405/0.181, allocations: 263.8 kB / 0.7288 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.1827, allocations: 1.266 MB / 0.73 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/0.1834, allocations: 299.3 kB / 0.7303 GB, free: 4.426 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.1837, allocations: 128.8 kB / 0.7304 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.1837, allocations: 4 kB / 0.7304 GB, free: 4.293 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.184, allocations: 178.5 kB / 0.7306 GB, free: 4.105 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 3.546e-06/0.184, allocations: 8 kB / 0.7306 GB, free: 4.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0007824/0.1848, allocations: 378.9 kB / 0.731 GB, free: 3.723 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.1849, allocations: 93.08 kB / 0.731 GB, free: 3.613 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.1853, allocations: 345.7 kB / 0.7314 GB, free: 3.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.1853, allocations: 41.69 kB / 0.7314 GB, free: 3.223 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.1855, allocations: 232.7 kB / 0.7316 GB, free: 2.992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/0.1856, allocations: 107.1 kB / 0.7317 GB, free: 2.887 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1857, allocations: 78.02 kB / 0.7318 GB, free: 2.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1859, allocations: 350.8 kB / 0.7322 GB, free: 2.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.1861, allocations: 100.7 kB / 0.7322 GB, free: 2.352 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.1864, allocations: 172.6 kB / 0.7324 GB, free: 2.156 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.1869, allocations: 259.8 kB / 0.7327 GB, free: 1.883 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1869, allocations: 0 / 0.7327 GB, free: 1.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006114/0.1875, allocations: 350.7 kB / 0.733 GB, free: 1.535 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1875, allocations: 7.984 kB / 0.733 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1875, allocations: 4 kB / 0.733 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1876, allocations: 4 kB / 0.733 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.1878, allocations: 68.09 kB / 0.7331 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1878, allocations: 4 kB / 0.7331 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.188, allocations: 39.72 kB / 0.7331 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.188, allocations: 15.98 kB / 0.7331 GB, free: 1.395 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.00019/0.1882, allocations: 170.9 kB / 0.7333 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.1883, allocations: 39.77 kB / 0.7333 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.28e-05/0.1884, allocations: 48.23 kB / 0.7334 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.1884, allocations: 8 kB / 0.7334 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1884, allocations: 0 / 0.7334 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1884, allocations: 3.938 kB / 0.7334 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.1895, allocations: 0.78 MB / 0.7342 GB, free: 296 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1895, allocations: 4 kB / 0.7342 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.1897, allocations: 47.92 kB / 0.7342 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1897, allocations: 3.984 kB / 0.7342 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.1898, allocations: 15.94 kB / 0.7342 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1898, allocations: 0 / 0.7342 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1898, allocations: 0 / 0.7342 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009017/0.1907, allocations: 0.5199 MB / 0.7347 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.1908, allocations: 67.66 kB / 0.7348 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.1908, allocations: 4 kB / 0.7348 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.191, allocations: 23.98 kB / 0.7348 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.1911, allocations: 31.94 kB / 0.7348 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1911, allocations: 4 kB / 0.7349 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002488/0.1913, allocations: 247.2 kB / 0.7351 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1913, allocations: 0 / 0.7351 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003281/0.1917, allocations: 91.72 kB / 0.7352 GB, free: 15.23 MB / 0.5606 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.0001164/0.1918, allocations: 107.2 kB / 0.7353 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005314/0.1923, allocations: 256 kB / 0.7355 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1923, allocations: 0 / 0.7355 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.1926, allocations: 123.8 kB / 0.7356 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.1931, allocations: 87.23 kB / 0.7357 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.1945, allocations: 0.8459 MB / 0.7365 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.195, allocations: 0.8074 MB / 0.7373 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.1951, allocations: 39.42 kB / 0.7374 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.1951, allocations: 3.938 kB / 0.7374 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.007549/0.2026, allocations: 4.917 MB / 0.7422 GB, free: 8 MB / 0.5606 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: 7.900877623818815] Failed to read output from testmodel.py, exit status != 0: 0.21093839616514742 0.468020389 0.28788965799999994 Calling exit ...