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.00265/0.00265, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.003243/0.003243, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 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 1.794/1.794, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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 1.171/1.171, allocations: 110.3 MB / 370.6 MB, free: 12.45 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 178] 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 2.314e-06/2.314e-06, allocations: 0 / 474.4 MB, free: 15.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.839e-05/4.071e-05, allocations: 9.016 kB / 474.4 MB, free: 15.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005679/0.00572, allocations: 3.058 MB / 477.5 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.007837, allocations: 1.009 MB / 478.5 MB, free: 12.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.008136, allocations: 18.66 kB / 478.5 MB, free: 12.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.008422, allocations: 73.17 kB / 478.6 MB, free: 12.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.008633, allocations: 106.1 kB / 478.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006212/0.009254, allocations: 257.3 kB / 478.9 MB, free: 12.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005985/0.009853, allocations: 0.5604 MB / 479.5 MB, free: 11.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.01029, allocations: 167.7 kB / 479.7 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.01077, allocations: 325 kB / 480 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.01102, allocations: 139.8 kB / 480.1 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.836e-05/0.01111, allocations: 53.97 kB / 480.2 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.01123, allocations: 61.11 kB / 480.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.626e-05/0.01133, allocations: 120.7 kB / 480.3 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.01149, allocations: 140.2 kB / 480.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00078/0.01227, allocations: 0.6277 MB / 481.1 MB, free: 11.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.01227, allocations: 0 / 481.1 MB, free: 11.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01228, allocations: 2.5 kB / 481.1 MB, free: 11.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.01229, allocations: 0 / 481.1 MB, free: 11.24 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.001338/0.01362, allocations: 0.8457 MB / 482 MB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.01368, allocations: 10.72 kB / 482 MB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.01397, allocations: 93.52 kB / 482.1 MB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.01462, allocations: 382.9 kB / 482.4 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.01467, allocations: 33 kB / 482.5 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.01475, allocations: 38.06 kB / 482.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007853/0.01553, allocations: 479.6 kB / 483 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.01556, allocations: 192 / 483 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.0156, allocations: 15.88 kB / 483 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.01562, allocations: 14.38 kB / 483 MB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005815/0.0162, allocations: 252.5 kB / 483.2 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.01863, allocations: 1.439 MB / 484.7 MB, free: 24.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/0.01938, allocations: 307.8 kB / 485 MB, free: 24.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.01967, allocations: 132.6 kB / 485.1 MB, free: 24.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/0.01972, allocations: 5.844 kB / 485.1 MB, free: 24.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/0.02009, allocations: 187.3 kB / 485.3 MB, free: 24.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.0201, allocations: 1.125 kB / 485.3 MB, free: 24.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009376/0.02103, allocations: 385.2 kB / 485.7 MB, free: 24.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.0211, allocations: 85.8 kB / 485.8 MB, free: 24.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005941/0.02169, allocations: 477.6 kB / 486.2 MB, free: 24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.02173, allocations: 38.3 kB / 486.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.022, allocations: 306.7 kB / 486.6 MB, free: 23.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.02211, allocations: 115.9 kB / 486.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.02228, allocations: 97.42 kB / 486.8 MB, free: 23.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003985/0.02267, allocations: 0.5467 MB / 487.3 MB, free: 23.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.0229, allocations: 93.28 kB / 487.4 MB, free: 23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.02322, allocations: 222.1 kB / 487.6 MB, free: 22.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/0.02377, allocations: 288.3 kB / 487.9 MB, free: 22.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.02377, allocations: 1.906 kB / 487.9 MB, free: 22.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007166/0.02449, allocations: 355.8 kB / 488.3 MB, free: 22.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.02451, allocations: 9.109 kB / 488.3 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.02452, allocations: 5.219 kB / 488.3 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.02455, allocations: 3.656 kB / 488.3 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.02485, allocations: 74.03 kB / 488.4 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.02486, allocations: 4.688 kB / 488.4 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.02506, allocations: 33.94 kB / 488.4 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.02509, allocations: 16.28 kB / 488.4 MB, free: 22.45 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.0002909/0.02538, allocations: 218.1 kB / 488.6 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.02546, allocations: 51.14 kB / 488.7 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.02557, allocations: 48.52 kB / 488.7 MB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.02558, allocations: 5.75 kB / 488.7 MB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.02559, allocations: 5.406 kB / 488.7 MB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.0256, allocations: 3.422 kB / 488.7 MB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.0269, allocations: 0.8082 MB / 489.5 MB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02691, allocations: 0 / 489.5 MB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.02716, allocations: 51.05 kB / 489.6 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.02716, allocations: 1.281 kB / 489.6 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.02719, allocations: 5.906 kB / 489.6 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.02719, allocations: 1.469 kB / 489.6 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.02719, allocations: 2.469 kB / 489.6 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009969/0.02819, allocations: 0.5837 MB / 490.2 MB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.02832, allocations: 67.28 kB / 490.3 MB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.02837, allocations: 10.16 kB / 490.3 MB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.02853, allocations: 9.625 kB / 490.3 MB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.02864, allocations: 28.31 kB / 490.3 MB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.02866, allocations: 9.688 kB / 490.3 MB, free: 21.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003559/0.02902, allocations: 303.1 kB / 490.6 MB, free: 21.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02902, allocations: 0 / 490.6 MB, free: 21.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004152/0.02943, allocations: 86.56 kB / 490.7 MB, free: 21.06 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 0.0001756/0.02961, allocations: 110.7 kB / 490.8 MB, free: 20.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006288/0.03024, allocations: 271.1 kB / 491.1 MB, free: 20.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.03024, allocations: 2.062 kB / 491.1 MB, free: 20.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.03052, allocations: 143.2 kB / 491.2 MB, free: 20.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.0311, allocations: 88.31 kB / 491.3 MB, free: 20.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.03283, allocations: 0.7964 MB / 492.1 MB, free: 20.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.03307, allocations: 212.3 kB / 492.3 MB, free: 20.24 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.03326, allocations: 44.2 kB / 492.3 MB, free: 20.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.03337, allocations: 33.58 kB / 492.4 MB, free: 20.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/0.03337, allocations: 0 / 492.4 MB, free: 20.23 MB / 426.7 MB Notification: Performance of Templates: time 0.01127/0.04464, allocations: 3.753 MB / 496.1 MB, free: 19.89 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: 6.650693133007735]