Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001611/0.001611, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001552/0.001552, allocations: 211.7 kB / 23.75 MB, free: 4.445 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.949/0.949, allocations: 149.9 MB / 463.8 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") [Timeout 660] "Notification: IBPSA 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.002124/0.002124, allocations: 66.48 kB / 0.6423 GB, free: 9.707 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1838, allocations: 89.18 MB / 0.7294 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005037/0.1888, allocations: 2.947 MB / 0.7322 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1908, allocations: 0.9973 MB / 0.7332 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.1911, allocations: 19.88 kB / 0.7332 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.1913, allocations: 67.27 kB / 0.7333 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.1915, allocations: 99.11 kB / 0.7334 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.1922, allocations: 258.8 kB / 0.7336 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006682/0.1928, allocations: 0.5467 MB / 0.7342 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.1932, allocations: 179.8 kB / 0.7343 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003338/0.1935, allocations: 215.1 kB / 0.7345 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.1938, allocations: 190.8 kB / 0.7347 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.496e-05/0.1938, allocations: 56 kB / 0.7348 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1939, allocations: 52 kB / 0.7348 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1941, allocations: 111.6 kB / 0.7349 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.1943, allocations: 187 kB / 0.7351 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007295/0.195, allocations: 0.5952 MB / 0.7357 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.195, allocations: 0 / 0.7357 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.195, allocations: 0 / 0.7357 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.195, allocations: 0 / 0.7357 GB, free: 10.08 MB / 0.5606 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.001294/0.1963, allocations: 0.7175 MB / 0.7364 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1963, allocations: 12.03 kB / 0.7364 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.1966, allocations: 68.55 kB / 0.7365 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007901/0.1973, allocations: 361.7 kB / 0.7368 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.1974, allocations: 33.38 kB / 0.7368 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/0.1975, allocations: 44.38 kB / 0.7369 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008001/0.1983, allocations: 449.3 kB / 0.7373 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1983, allocations: 0 / 0.7373 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.1983, allocations: 23.92 kB / 0.7373 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.1983, allocations: 12 kB / 0.7374 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005725/0.1989, allocations: 259.8 kB / 0.7376 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.2007, allocations: 1.049 MB / 0.7386 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007362/0.2014, allocations: 303.1 kB / 0.7389 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.2017, allocations: 128.8 kB / 0.739 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.2017, allocations: 0 / 0.739 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003791/0.2021, allocations: 181.4 kB / 0.7392 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.2021, allocations: 0 / 0.7392 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0009208/0.203, allocations: 386.8 kB / 0.7396 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/0.2031, allocations: 89.09 kB / 0.7397 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.2036, allocations: 341.6 kB / 0.74 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.2036, allocations: 37.64 kB / 0.74 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.2038, allocations: 240.7 kB / 0.7403 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.2039, allocations: 107.1 kB / 0.7404 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.204, allocations: 78 kB / 0.7404 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.2043, allocations: 346.8 kB / 0.7408 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.2045, allocations: 104.7 kB / 0.7409 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.2048, allocations: 190.3 kB / 0.741 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.2053, allocations: 255.8 kB / 0.7413 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2053, allocations: 4 kB / 0.7413 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006837/0.206, allocations: 354.6 kB / 0.7416 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.206, allocations: 8 kB / 0.7416 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.206, allocations: 0 / 0.7416 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.2061, allocations: 4 kB / 0.7416 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.2063, allocations: 64.09 kB / 0.7417 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2063, allocations: 8 kB / 0.7417 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.2065, allocations: 31.83 kB / 0.7417 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.2066, allocations: 19.98 kB / 0.7418 GB, free: 3.59 MB / 0.5606 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.0002438/0.2068, allocations: 174.8 kB / 0.7419 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.2069, allocations: 43.7 kB / 0.742 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.207, allocations: 48.09 kB / 0.742 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.207, allocations: 4 kB / 0.742 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.207, allocations: 0 / 0.742 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.207, allocations: 7.984 kB / 0.742 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.2082, allocations: 0.678 MB / 0.7427 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2082, allocations: 0 / 0.7427 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.2084, allocations: 47.97 kB / 0.7427 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2084, allocations: 4 kB / 0.7427 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.2085, allocations: 4 kB / 0.7427 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.2085, allocations: 7.984 kB / 0.7427 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2085, allocations: 0 / 0.7427 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/0.2094, allocations: 0.5255 MB / 0.7433 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.2095, allocations: 71.66 kB / 0.7433 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.2096, allocations: 4 kB / 0.7433 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.2098, allocations: 15.98 kB / 0.7433 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/0.2099, allocations: 27.95 kB / 0.7434 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.2099, allocations: 4 kB / 0.7434 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002847/0.2102, allocations: 247.1 kB / 0.7436 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2102, allocations: 64 / 0.7436 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003568/0.2105, allocations: 87.78 kB / 0.7437 GB, free: 1.539 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.0001526/0.2107, allocations: 108.1 kB / 0.7438 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006349/0.2113, allocations: 248 kB / 0.744 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2113, allocations: 0 / 0.744 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.2116, allocations: 132.2 kB / 0.7442 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.2121, allocations: 77.11 kB / 0.7442 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.2137, allocations: 0.8497 MB / 0.7451 GB, free: 104 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.214, allocations: 215.8 kB / 0.7453 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.2141, allocations: 31.44 kB / 0.7453 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/0.2141, allocations: 0 / 0.7453 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.008187/0.2223, allocations: 5.059 MB / 0.7502 GB, free: 10.8 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.625126549042761] Failed to read output from testmodel.py, exit status != 0: 0.2319185808300972 0.52489854 0.326999633 Calling exit ...