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.001291/0.001291, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001457/0.001457, allocations: 222.5 kB / 22.25 MB, free: 5.109 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.797 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.9342/0.9342, allocations: 145 MB / 457.4 MB, free: 15.25 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.00206/0.00206, allocations: 68.27 kB / 0.6335 GB, free: 6.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1891, allocations: 87.88 MB / 0.7194 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005411/0.1945, allocations: 2.962 MB / 0.7223 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.1965, allocations: 0.9895 MB / 0.7232 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.1968, allocations: 15.88 kB / 0.7232 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.197, allocations: 75.19 kB / 0.7233 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.1973, allocations: 107.1 kB / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006301/0.1979, allocations: 250.6 kB / 0.7236 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006154/0.1985, allocations: 0.5505 MB / 0.7242 GB, free: 9.398 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003882/0.1989, allocations: 171.9 kB / 0.7244 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/0.1992, allocations: 223.1 kB / 0.7246 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.1995, allocations: 182.8 kB / 0.7247 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.67e-05/0.1996, allocations: 52 kB / 0.7248 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1997, allocations: 56 kB / 0.7248 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1998, allocations: 111.6 kB / 0.7249 GB, free: 8.609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.2, allocations: 186.9 kB / 0.7251 GB, free: 8.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007374/0.2007, allocations: 0.6263 MB / 0.7257 GB, free: 7.797 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2007, allocations: 0 / 0.7257 GB, free: 7.797 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2007, allocations: 0 / 0.7257 GB, free: 7.797 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.2007, allocations: 4 kB / 0.7257 GB, free: 7.793 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.001248/0.202, allocations: 0.7137 MB / 0.7264 GB, free: 7.047 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.202, allocations: 8.031 kB / 0.7264 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.2022, allocations: 68.59 kB / 0.7265 GB, free: 6.973 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007109/0.2029, allocations: 365.7 kB / 0.7269 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.203, allocations: 29.38 kB / 0.7269 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.203, allocations: 36.38 kB / 0.7269 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007092/0.2038, allocations: 457.3 kB / 0.7274 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.2038, allocations: 0 / 0.7274 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.2038, allocations: 20 kB / 0.7274 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2038, allocations: 8 kB / 0.7274 GB, free: 6.016 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005428/0.2044, allocations: 263.8 kB / 0.7276 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.206, allocations: 1.065 MB / 0.7287 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.2067, allocations: 287.4 kB / 0.729 GB, free: 4.363 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.207, allocations: 124.8 kB / 0.7291 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.207, allocations: 8 kB / 0.7291 GB, free: 4.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003315/0.2073, allocations: 181.9 kB / 0.7293 GB, free: 4.039 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 7.354e-06/0.2073, allocations: 3.984 kB / 0.7293 GB, free: 4.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0007973/0.2081, allocations: 382.8 kB / 0.7296 GB, free: 3.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.2082, allocations: 81.11 kB / 0.7297 GB, free: 3.559 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.2086, allocations: 353.5 kB / 0.73 GB, free: 3.211 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.2086, allocations: 33.7 kB / 0.7301 GB, free: 3.172 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.2088, allocations: 241.3 kB / 0.7303 GB, free: 2.934 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.694e-05/0.2089, allocations: 107.1 kB / 0.7304 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.209, allocations: 74.06 kB / 0.7305 GB, free: 2.746 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.2092, allocations: 346.8 kB / 0.7308 GB, free: 2.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.2094, allocations: 100.7 kB / 0.7309 GB, free: 2.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.2097, allocations: 194.3 kB / 0.7311 GB, free: 2.078 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.2102, allocations: 255.9 kB / 0.7313 GB, free: 1.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2102, allocations: 0 / 0.7313 GB, free: 1.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00064/0.2108, allocations: 354.8 kB / 0.7317 GB, free: 1.457 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2108, allocations: 8.031 kB / 0.7317 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2108, allocations: 4 kB / 0.7317 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.2109, allocations: 4 kB / 0.7317 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.2111, allocations: 67.89 kB / 0.7317 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2111, allocations: 4 kB / 0.7317 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.2113, allocations: 35.77 kB / 0.7318 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.2113, allocations: 15.94 kB / 0.7318 GB, free: 1.32 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.0002007/0.2115, allocations: 171 kB / 0.732 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.2116, allocations: 47.66 kB / 0.732 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2117, allocations: 44.11 kB / 0.732 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2117, allocations: 4 kB / 0.7321 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.2117, allocations: 3.984 kB / 0.7321 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2117, allocations: 0 / 0.7321 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.2127, allocations: 0.6908 MB / 0.7327 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2127, allocations: 0 / 0.7327 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.213, allocations: 47.92 kB / 0.7328 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.213, allocations: 4 kB / 0.7328 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.213, allocations: 11.98 kB / 0.7328 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.213, allocations: 0 / 0.7328 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.213, allocations: 0 / 0.7328 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.2139, allocations: 0.5277 MB / 0.7333 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.214, allocations: 55.7 kB / 0.7334 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.2141, allocations: 12 kB / 0.7334 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.2142, allocations: 23.98 kB / 0.7334 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.2143, allocations: 23.95 kB / 0.7334 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.2143, allocations: 11.98 kB / 0.7334 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002642/0.2146, allocations: 231.2 kB / 0.7336 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2146, allocations: 0 / 0.7336 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003405/0.2149, allocations: 91.73 kB / 0.7337 GB, free: 15.27 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.0001485/0.2151, allocations: 117.2 kB / 0.7338 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005614/0.2157, allocations: 252.2 kB / 0.7341 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2157, allocations: 0 / 0.7341 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.2159, allocations: 127.8 kB / 0.7342 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.2164, allocations: 93.33 kB / 0.7343 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.2179, allocations: 0.8017 MB / 0.7351 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.2181, allocations: 211.8 kB / 0.7353 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.2182, allocations: 47.25 kB / 0.7353 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.581e-05/0.2183, allocations: 27.44 kB / 0.7354 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.2183, allocations: 7.938 kB / 0.7354 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.008928/0.2273, allocations: 4.135 MB / 0.7394 GB, free: 9.504 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: 6.039296176284552] Failed to read output from testmodel.py, exit status != 0: 0.23666110448539257 0.602021488 0.39832093700000004 Calling exit ...