Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.001206/0.001206, allocations: 114.8 kB / 19.69 MB, free: 2.188 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.00127/0.00127, allocations: 187.7 kB / 22.98 MB, free: 5.008 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.342/1.342, allocations: 225.6 MB / 251.8 MB, free: 13.02 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.9263/0.9263, allocations: 149.6 MB / 456.6 MB, free: 1.156 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.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 64.34 kB / 0.6328 GB, free: 8.996 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1765, allocations: 87.88 MB / 0.7186 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004842/0.1814, allocations: 3.017 MB / 0.7216 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1834, allocations: 0.9158 MB / 0.7225 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004246/0.1839, allocations: 15.88 kB / 0.7225 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.1842, allocations: 67.27 kB / 0.7226 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.1845, allocations: 99.16 kB / 0.7226 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.1851, allocations: 226.6 kB / 0.7229 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006573/0.1858, allocations: 498.9 kB / 0.7233 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.1861, allocations: 150.2 kB / 0.7235 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.1864, allocations: 183.2 kB / 0.7237 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.1867, allocations: 187 kB / 0.7238 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.028e-05/0.1867, allocations: 40 kB / 0.7239 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.684e-05/0.1868, allocations: 44 kB / 0.7239 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.711e-05/0.1869, allocations: 95.64 kB / 0.724 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.1871, allocations: 198.9 kB / 0.7242 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.1877, allocations: 0.5095 MB / 0.7247 GB, free: 10.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1877, allocations: 4 kB / 0.7247 GB, free: 10.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1877, allocations: 0 / 0.7247 GB, free: 10.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.1877, allocations: 4 kB / 0.7247 GB, free: 10.8 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001172/0.1888, allocations: 0.6567 MB / 0.7253 GB, free: 10.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1889, allocations: 12.56 kB / 0.7254 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.189, allocations: 48.66 kB / 0.7254 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.1897, allocations: 338.8 kB / 0.7257 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.1897, allocations: 25.03 kB / 0.7257 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.1897, allocations: 32.33 kB / 0.7258 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006418/0.1904, allocations: 345.7 kB / 0.7261 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.1904, allocations: 3.938 kB / 0.7261 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.1904, allocations: 12 kB / 0.7261 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.1904, allocations: 8 kB / 0.7261 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.1909, allocations: 218.5 kB / 0.7263 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.1925, allocations: 1.132 MB / 0.7274 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.193, allocations: 223.7 kB / 0.7277 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.1932, allocations: 108.8 kB / 0.7278 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1932, allocations: 0 / 0.7278 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1933, allocations: 34.94 kB / 0.7278 GB, free: 7.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.062e-06/0.1933, allocations: 0 / 0.7278 GB, free: 7.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006815/0.194, allocations: 302.5 kB / 0.7281 GB, free: 7.156 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.194, allocations: 106.8 kB / 0.7282 GB, free: 7.027 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.1944, allocations: 337.7 kB / 0.7285 GB, free: 6.691 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1944, allocations: 29.7 kB / 0.7285 GB, free: 6.656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1946, allocations: 224.5 kB / 0.7288 GB, free: 6.434 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.1947, allocations: 87.25 kB / 0.7288 GB, free: 6.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.232e-05/0.1947, allocations: 49.7 kB / 0.7289 GB, free: 6.293 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1949, allocations: 350.8 kB / 0.7292 GB, free: 5.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.1951, allocations: 75.91 kB / 0.7293 GB, free: 5.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.1953, allocations: 143.7 kB / 0.7294 GB, free: 5.699 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.1957, allocations: 213.6 kB / 0.7296 GB, free: 5.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1957, allocations: 4 kB / 0.7296 GB, free: 5.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005076/0.1962, allocations: 281.1 kB / 0.7299 GB, free: 5.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1962, allocations: 4 kB / 0.7299 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1962, allocations: 4 kB / 0.7299 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1962, allocations: 4 kB / 0.7299 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.1964, allocations: 55.84 kB / 0.73 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1964, allocations: 8.188 kB / 0.73 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.1966, allocations: 31.83 kB / 0.73 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1966, allocations: 12 kB / 0.73 GB, free: 5.07 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: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001675/0.1968, allocations: 161.7 kB / 0.7302 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.1969, allocations: 31.81 kB / 0.7302 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.402e-05/0.1969, allocations: 35.45 kB / 0.7302 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1969, allocations: 7.984 kB / 0.7302 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.197, allocations: 4 kB / 0.7302 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.197, allocations: 0 / 0.7302 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.1974, allocations: 372.2 kB / 0.7306 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1974, allocations: 4 kB / 0.7306 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.1976, allocations: 35.98 kB / 0.7306 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1976, allocations: 0 / 0.7306 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1976, allocations: 7.984 kB / 0.7306 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1976, allocations: 4 kB / 0.7307 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1976, allocations: 7.984 kB / 0.7307 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/0.1983, allocations: 432.3 kB / 0.7311 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.53e-05/0.1984, allocations: 51.72 kB / 0.7311 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.1984, allocations: 7.984 kB / 0.7311 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.1986, allocations: 19.98 kB / 0.7311 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.1987, allocations: 11.97 kB / 0.7312 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.1987, allocations: 8 kB / 0.7312 GB, free: 3.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002771/0.199, allocations: 243.2 kB / 0.7314 GB, free: 3.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.199, allocations: 0 / 0.7314 GB, free: 3.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003123/0.1993, allocations: 71.84 kB / 0.7315 GB, free: 3.512 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0001142/0.1994, allocations: 103.2 kB / 0.7316 GB, free: 3.402 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.1998, allocations: 189.3 kB / 0.7317 GB, free: 3.219 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1998, allocations: 0 / 0.7317 GB, free: 3.219 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.2001, allocations: 99.83 kB / 0.7318 GB, free: 3.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.2005, allocations: 81.09 kB / 0.7319 GB, free: 3.051 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2018, allocations: 0.7175 MB / 0.7326 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.2022, allocations: 0.7912 MB / 0.7334 GB, free: 1.492 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.2024, allocations: 34.97 kB / 0.7334 GB, free: 1.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/0.2025, allocations: 31.44 kB / 0.7335 GB, free: 1.426 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2025, allocations: 3.938 kB / 0.7335 GB, free: 1.422 MB / 0.545 GB Notification: Performance of Templates: time 0.007942/0.2104, allocations: 3.374 MB / 0.7368 GB, free: 14.08 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.380016630515456] Failed to read output from testmodel.py, exit status != 0: 0.2192449914291501 0.23262447700000002 0.042014998000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3f1b1617b0>