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.00102/0.00102, allocations: 82.64 kB / 20.68 MB, free: 3.812 MB / 18.57 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.001634/0.001634, allocations: 177 kB / 24.08 MB, free: 424 kB / 18.57 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 0.9416/0.9416, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 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.6006/0.6006, allocations: 110.3 MB / 371.3 MB, free: 12.38 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 475.6 MB, free: 15.06 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.196e-05, allocations: 2.312 kB / 475.6 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003008/0.00303, allocations: 3.046 MB / 478.7 MB, free: 13.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.00432, allocations: 1.012 MB / 479.7 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.004562, allocations: 16.03 kB / 479.7 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.00476, allocations: 77.83 kB / 479.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.004892, allocations: 105.1 kB / 479.9 MB, free: 12.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.005353, allocations: 244.9 kB / 480.1 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003914/0.005744, allocations: 0.5649 MB / 480.7 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.005997, allocations: 171.4 kB / 480.8 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.006323, allocations: 324.6 kB / 481.1 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.006526, allocations: 145.7 kB / 481.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.519e-05/0.006591, allocations: 48.94 kB / 481.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-05/0.006667, allocations: 58.67 kB / 481.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.006717, allocations: 110.2 kB / 481.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.121e-05/0.006798, allocations: 146.5 kB / 481.6 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.007136, allocations: 356.9 kB / 482 MB, free: 11.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.007139, allocations: 0.8125 kB / 482 MB, free: 11.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00714, allocations: 0 / 482 MB, free: 11.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.007145, allocations: 0.5625 kB / 482 MB, free: 11.07 MB / 410.7 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.0006462/0.007792, allocations: 0.7934 MB / 482.8 MB, free: 10.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.007834, allocations: 12.52 kB / 482.8 MB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.007988, allocations: 96.81 kB / 482.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.008319, allocations: 379.8 kB / 483.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.008348, allocations: 30.5 kB / 483.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.008392, allocations: 38.81 kB / 483.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.008695, allocations: 363.8 kB / 483.7 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.008708, allocations: 192 / 483.7 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.008728, allocations: 18.5 kB / 483.7 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.00874, allocations: 12.88 kB / 483.7 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.008897, allocations: 114 kB / 483.8 MB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.009935, allocations: 1.18 MB / 485 MB, free: 24.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.0102, allocations: 214.7 kB / 485.2 MB, free: 24.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/0.01027, allocations: 72.52 kB / 485.3 MB, free: 24.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.01029, allocations: 9.469 kB / 485.3 MB, free: 24.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.01042, allocations: 129.8 kB / 485.4 MB, free: 24.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.323e-06/0.01042, allocations: 3 kB / 485.4 MB, free: 24.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002973/0.01071, allocations: 252.1 kB / 485.7 MB, free: 24.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.01074, allocations: 85.92 kB / 485.8 MB, free: 24.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.01096, allocations: 361.4 kB / 486.1 MB, free: 24.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.01098, allocations: 36.83 kB / 486.1 MB, free: 24.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.01111, allocations: 293.4 kB / 486.4 MB, free: 24.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.01116, allocations: 107.4 kB / 486.5 MB, free: 23.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.01123, allocations: 80.03 kB / 486.6 MB, free: 23.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.01138, allocations: 0.5215 MB / 487.1 MB, free: 23.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.01145, allocations: 40.25 kB / 487.2 MB, free: 23.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.01155, allocations: 152.8 kB / 487.3 MB, free: 23.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.01169, allocations: 172.7 kB / 487.5 MB, free: 23.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01169, allocations: 1.562 kB / 487.5 MB, free: 23.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002112/0.01191, allocations: 251.5 kB / 487.7 MB, free: 23.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.01192, allocations: 7.719 kB / 487.7 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.01192, allocations: 6.734 kB / 487.8 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.01193, allocations: 8.312 kB / 487.8 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.01208, allocations: 68.33 kB / 487.8 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.01208, allocations: 3.938 kB / 487.8 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.01216, allocations: 34.66 kB / 487.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.01217, allocations: 11.61 kB / 487.9 MB, free: 22.98 MB / 426.7 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.0001038/0.01227, allocations: 178.1 kB / 488.1 MB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.01231, allocations: 48.45 kB / 488.1 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.01236, allocations: 44.91 kB / 488.1 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.01236, allocations: 11.91 kB / 488.2 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.01237, allocations: 0 / 488.2 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01237, allocations: 0 / 488.2 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.01285, allocations: 0.5721 MB / 488.7 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01285, allocations: 1.562 kB / 488.7 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.01297, allocations: 48.55 kB / 488.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01297, allocations: 6.375 kB / 488.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.01298, allocations: 10.97 kB / 488.8 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.01299, allocations: 4.938 kB / 488.8 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01299, allocations: 0.6875 kB / 488.8 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.01331, allocations: 412 kB / 489.2 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.01338, allocations: 72.11 kB / 489.3 MB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.0134, allocations: 10.91 kB / 489.3 MB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.01347, allocations: 13.58 kB / 489.3 MB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.01351, allocations: 28.14 kB / 489.3 MB, free: 22.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.01352, allocations: 7.969 kB / 489.3 MB, free: 22.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.01364, allocations: 232.3 kB / 489.6 MB, free: 21.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01364, allocations: 1.094 kB / 489.6 MB, free: 21.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.01385, allocations: 85.59 kB / 489.6 MB, free: 21.86 MB / 426.7 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 7.991e-05/0.01393, allocations: 115.7 kB / 489.8 MB, free: 21.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.01411, allocations: 163.6 kB / 489.9 MB, free: 21.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01411, allocations: 1.5 kB / 489.9 MB, free: 21.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.702e-05/0.0142, allocations: 85.62 kB / 490 MB, free: 21.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.0145, allocations: 87.86 kB / 490.1 MB, free: 21.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.01552, allocations: 0.749 MB / 490.8 MB, free: 21.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.091e-05/0.01558, allocations: 104.1 kB / 490.9 MB, free: 21.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.01568, allocations: 47.55 kB / 491 MB, free: 21.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.01584, allocations: 139.7 kB / 491.1 MB, free: 21.1 MB / 426.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01584, allocations: 1.344 kB / 491.1 MB, free: 21.1 MB / 426.7 MB Notification: Performance of Templates: time 0.006396/0.02223, allocations: 4.091 MB / 495.2 MB, free: 20.7 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.424015063792467]