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.0009425/0.0009425, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002443, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009868/0.0009868, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002382, allocations: 479.5 kB / 11.83 MB, free: 2.34 MB / 13.93 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.9645/0.9645, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09776/1.062, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.6993/0.6993, allocations: 110.3 MB / 354.5 MB, free: 12.29 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.067/0.7663, allocations: 34.95 MB / 389.4 MB, free: 9.242 MB / 378.7 MB " [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.322e-06/1.322e-06, allocations: 3.938 kB / 390.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.06e-05, allocations: 6.312 kB / 390.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003427/0.003447, allocations: 3.119 MB / 393.8 MB, free: 4.797 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.005397, allocations: 1.047 MB / 394.9 MB, free: 3.742 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.005716, allocations: 15.88 kB / 394.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.005921, allocations: 83.12 kB / 395 MB, free: 3.645 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.006102, allocations: 107 kB / 395.1 MB, free: 3.539 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.006483, allocations: 251.5 kB / 395.3 MB, free: 3.293 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.0069, allocations: 0.5427 MB / 395.9 MB, free: 2.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.007155, allocations: 177.8 kB / 396.1 MB, free: 2.566 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003871/0.007542, allocations: 374.1 kB / 396.4 MB, free: 2.199 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.007712, allocations: 139.5 kB / 396.6 MB, free: 2.062 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.00776, allocations: 48 kB / 396.6 MB, free: 2.016 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.007846, allocations: 56 kB / 396.7 MB, free: 1.961 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.007904, allocations: 91.67 kB / 396.7 MB, free: 1.871 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.766e-05/0.007992, allocations: 119.7 kB / 396.9 MB, free: 1.754 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006024/0.008594, allocations: 322.6 kB / 397.2 MB, free: 1.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.008608, allocations: 0 / 397.2 MB, free: 1.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.00861, allocations: 0 / 397.2 MB, free: 1.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.008621, allocations: 0 / 397.2 MB, free: 1.438 MB / 378.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.000804/0.009425, allocations: 0.7626 MB / 397.9 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.00946, allocations: 12.03 kB / 398 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.009646, allocations: 150 kB / 398.1 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.01, allocations: 311.1 kB / 398.4 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.01003, allocations: 29.38 kB / 398.4 MB, free: 112 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.01007, allocations: 40.31 kB / 398.5 MB, free: 72 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.01041, allocations: 357.5 kB / 398.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.01042, allocations: 4.125 kB / 398.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.01044, allocations: 16.38 kB / 398.8 MB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-06/0.01045, allocations: 15.92 kB / 398.9 MB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.01059, allocations: 102.9 kB / 399 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008881/0.01148, allocations: 0.8503 MB / 399.8 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.01176, allocations: 190.2 kB / 400 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.01182, allocations: 52.84 kB / 400 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.01185, allocations: 8.5 kB / 400.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.01199, allocations: 129.5 kB / 400.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.01199, allocations: 0 / 400.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002481/0.01224, allocations: 187.2 kB / 400.4 MB, free: 14.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.01228, allocations: 59.34 kB / 400.4 MB, free: 14.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.01245, allocations: 307.3 kB / 400.7 MB, free: 13.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.01248, allocations: 37.7 kB / 400.8 MB, free: 13.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.01257, allocations: 205.6 kB / 401 MB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.01263, allocations: 111 kB / 401.1 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.01271, allocations: 70.05 kB / 401.1 MB, free: 13.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.0128, allocations: 358.7 kB / 401.5 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.01285, allocations: 32.73 kB / 401.5 MB, free: 12.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.122e-05/0.01294, allocations: 130 kB / 401.6 MB, free: 12.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.01309, allocations: 163.7 kB / 401.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.0131, allocations: 0 / 401.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0001942/0.01329, allocations: 199 kB / 402 MB, free: 12.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.0133, allocations: 4 kB / 402 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.01331, allocations: 4 kB / 402 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.01332, allocations: 4 kB / 402 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.01352, allocations: 75.84 kB / 402.1 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01352, allocations: 7.984 kB / 402.1 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.046e-05/0.0136, allocations: 35.95 kB / 402.1 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.01362, allocations: 16 kB / 402.1 MB, free: 12.19 MB / 394.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 9.631e-05/0.01371, allocations: 129.7 kB / 402.3 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.01375, allocations: 35.97 kB / 402.3 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.0138, allocations: 52.03 kB / 402.4 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.0138, allocations: 7.938 kB / 402.4 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.0138, allocations: 3.984 kB / 402.4 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01381, allocations: 0 / 402.4 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.01425, allocations: 436.1 kB / 402.8 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01425, allocations: 0 / 402.8 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.0144, allocations: 63.91 kB / 402.9 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.01447, allocations: 47.62 kB / 402.9 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.01447, allocations: 0 / 402.9 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.01449, allocations: 4 kB / 402.9 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.01449, allocations: 4 kB / 402.9 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01449, allocations: 0 / 402.9 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.01478, allocations: 308.4 kB / 403.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.01481, allocations: 11.94 kB / 403.2 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.01488, allocations: 15.98 kB / 403.2 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.01494, allocations: 27.98 kB / 403.3 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.01495, allocations: 12 kB / 403.3 MB, free: 11.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.278e-05/0.01503, allocations: 124.7 kB / 403.4 MB, free: 10.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01503, allocations: 0 / 403.4 MB, free: 10.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002048/0.01524, allocations: 87.73 kB / 403.5 MB, free: 10.8 MB / 394.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.0001067/0.01534, allocations: 92.36 kB / 403.6 MB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.01553, allocations: 153.4 kB / 403.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.01554, allocations: 8 kB / 403.7 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.01565, allocations: 101.2 kB / 403.8 MB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.01637, allocations: 0.5596 MB / 404.4 MB, free: 9.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.01873, allocations: 0.7527 MB / 405.1 MB, free: 9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.39e-05/0.01881, allocations: 109.3 kB / 405.2 MB, free: 8.871 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000128/0.01894, allocations: 47.27 kB / 405.3 MB, free: 8.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.01909, allocations: 119.3 kB / 405.4 MB, free: 8.703 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01909, allocations: 4 kB / 405.4 MB, free: 8.699 MB / 394.7 MB Notification: Performance of Templates: time 0.006674/0.02576, allocations: 4.143 MB / 409.6 MB, free: 4.57 MB / 394.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.3353786608204246]