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.001627/0.001627, allocations: 82.64 kB / 19.94 MB, free: 1.777 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.002063/0.002063, allocations: 162.8 kB / 23.22 MB, free: 4.902 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.438/1.438, allocations: 177.1 MB / 203.5 MB, free: 9.164 MB / 190.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.9001/0.9001, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.5546 GB, free: 2.695 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.719e-05, allocations: 6.125 kB / 0.5546 GB, free: 2.691 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004839/0.004866, allocations: 2.96 MB / 0.5575 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.006938, allocations: 0.9931 MB / 0.5585 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.007181, allocations: 15.88 kB / 0.5585 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.007421, allocations: 67.27 kB / 0.5586 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.007633, allocations: 107 kB / 0.5587 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.008223, allocations: 265.4 kB / 0.5589 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006077/0.008831, allocations: 0.5698 MB / 0.5595 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.009177, allocations: 163.9 kB / 0.5596 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004618/0.009638, allocations: 323.1 kB / 0.5599 GB, free: 13.24 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.009867, allocations: 143.5 kB / 0.5601 GB, free: 13.1 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.804e-05/0.009955, allocations: 52 kB / 0.5601 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.01006, allocations: 52 kB / 0.5602 GB, free: 13 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.01016, allocations: 119.5 kB / 0.5603 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.01032, allocations: 143.6 kB / 0.5604 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006923/0.01101, allocations: 0.6113 MB / 0.561 GB, free: 12.12 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.01102, allocations: 0 / 0.561 GB, free: 12.12 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01102, allocations: 0 / 0.561 GB, free: 12.12 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.01103, allocations: 0 / 0.561 GB, free: 12.12 MB / 478.1 MB 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.0012/0.01223, allocations: 0.702 MB / 0.5617 GB, free: 11.39 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.01227, allocations: 12.62 kB / 0.5617 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.01246, allocations: 64.59 kB / 0.5618 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.01307, allocations: 372.8 kB / 0.5621 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.01311, allocations: 29.38 kB / 0.5622 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.57e-05/0.01317, allocations: 40.38 kB / 0.5622 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006864/0.01386, allocations: 445.6 kB / 0.5626 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.01387, allocations: 192 / 0.5626 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.01391, allocations: 16.38 kB / 0.5627 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.01392, allocations: 15.94 kB / 0.5627 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.01447, allocations: 263.8 kB / 0.5629 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.01607, allocations: 1.057 MB / 0.564 GB, free: 9.004 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/0.01675, allocations: 287.4 kB / 0.5642 GB, free: 8.715 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.017, allocations: 130.7 kB / 0.5644 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.01702, allocations: 0 / 0.5644 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003305/0.01735, allocations: 181.5 kB / 0.5645 GB, free: 8.395 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.01736, allocations: 0 / 0.5645 GB, free: 8.395 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008427/0.0182, allocations: 390.7 kB / 0.5649 GB, free: 8.008 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.01826, allocations: 81.11 kB / 0.565 GB, free: 7.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.01863, allocations: 349.5 kB / 0.5653 GB, free: 7.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.01866, allocations: 37.7 kB / 0.5653 GB, free: 7.512 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.01885, allocations: 245.2 kB / 0.5656 GB, free: 7.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.01893, allocations: 111.1 kB / 0.5657 GB, free: 7.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.01905, allocations: 74.06 kB / 0.5658 GB, free: 7.078 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.0192, allocations: 346.8 kB / 0.5661 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.01943, allocations: 96.7 kB / 0.5662 GB, free: 6.637 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.01972, allocations: 194.3 kB / 0.5664 GB, free: 6.414 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/0.02025, allocations: 263.8 kB / 0.5666 GB, free: 6.137 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.02026, allocations: 0 / 0.5666 GB, free: 6.137 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006679/0.02093, allocations: 350.7 kB / 0.5669 GB, free: 5.789 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.02095, allocations: 8 kB / 0.567 GB, free: 5.781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.02096, allocations: 3.938 kB / 0.567 GB, free: 5.777 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.02099, allocations: 7.984 kB / 0.567 GB, free: 5.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.02126, allocations: 67.84 kB / 0.567 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.02128, allocations: 4 kB / 0.567 GB, free: 5.699 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.02147, allocations: 39.7 kB / 0.5671 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.0215, allocations: 20.17 kB / 0.5671 GB, free: 5.641 MB / 478.1 MB 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.0002389/0.02174, allocations: 172.1 kB / 0.5673 GB, free: 5.465 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.0218, allocations: 43.72 kB / 0.5673 GB, free: 5.422 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.02191, allocations: 48.05 kB / 0.5673 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.02191, allocations: 4 kB / 0.5673 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.02192, allocations: 0 / 0.5673 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.02192, allocations: 3.984 kB / 0.5674 GB, free: 5.367 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.02299, allocations: 0.682 MB / 0.568 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02299, allocations: 4 kB / 0.568 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.02324, allocations: 51.84 kB / 0.5681 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.02325, allocations: 4 kB / 0.5681 GB, free: 4.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.02327, allocations: 7.984 kB / 0.5681 GB, free: 4.582 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.02327, allocations: 4 kB / 0.5681 GB, free: 4.578 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02327, allocations: 0 / 0.5681 GB, free: 4.578 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008801/0.02415, allocations: 0.517 MB / 0.5686 GB, free: 4.043 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.02427, allocations: 67.64 kB / 0.5687 GB, free: 3.977 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.02431, allocations: 8.062 kB / 0.5687 GB, free: 3.969 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.02449, allocations: 15.98 kB / 0.5687 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.02457, allocations: 27.95 kB / 0.5687 GB, free: 3.926 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.02459, allocations: 11.98 kB / 0.5687 GB, free: 3.914 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002406/0.02483, allocations: 239.1 kB / 0.5689 GB, free: 3.684 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02484, allocations: 3.938 kB / 0.5689 GB, free: 3.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.02518, allocations: 91.73 kB / 0.569 GB, free: 3.59 MB / 478.1 MB 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.0001268/0.02531, allocations: 103.2 kB / 0.5691 GB, free: 3.477 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005466/0.02585, allocations: 251.7 kB / 0.5694 GB, free: 3.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.02586, allocations: 0 / 0.5694 GB, free: 3.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.02611, allocations: 127.8 kB / 0.5695 GB, free: 3.105 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.02662, allocations: 79.02 kB / 0.5696 GB, free: 3.035 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.02802, allocations: 0.7618 MB / 0.5703 GB, free: 2.246 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.02822, allocations: 211.8 kB / 0.5705 GB, free: 2.016 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.02837, allocations: 39.27 kB / 0.5706 GB, free: 1.973 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.366e-05/0.02846, allocations: 40.48 kB / 0.5706 GB, free: 1.934 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.02846, allocations: 0 / 0.5706 GB, free: 1.934 MB / 478.1 MB Notification: Performance of Templates: time 0.00848/0.03694, allocations: 3.71 MB / 0.5742 GB, free: 14.32 MB / 494.1 MB " [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: 5.285744693130255] Failed to read output from testmodel.py, exit status != 0: 0.04554370418190956 0.059197895 0.045237149000000004 Calling exit ...