Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.001821/0.001821, allocations: 88.38 kB / 20.24 MB, free: 4.312 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.002176/0.002176, allocations: 165.7 kB / 23.55 MB, free: 1.004 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.543/1.543, allocations: 177.2 MB / 203.9 MB, free: 5.594 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 0.9654/0.9654, allocations: 110.3 MB / 370.6 MB, free: 12.48 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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 474.4 MB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.443e-05/3.628e-05, allocations: 5.938 kB / 474.4 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004729/0.004765, allocations: 2.812 MB / 477.2 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.006946, allocations: 0.9421 MB / 478.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005248/0.007471, allocations: 18.38 kB / 478.2 MB, free: 12.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.007835, allocations: 69.2 kB / 478.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003947/0.008229, allocations: 97.55 kB / 478.4 MB, free: 12.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007337/0.008963, allocations: 230.1 kB / 478.6 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006706/0.009634, allocations: 0.4983 MB / 479.1 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.01001, allocations: 147 kB / 479.2 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005757/0.01058, allocations: 269.2 kB / 479.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.01088, allocations: 125.7 kB / 479.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.487e-05/0.01098, allocations: 43.06 kB / 479.7 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.01111, allocations: 57.23 kB / 479.7 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.0112, allocations: 96.03 kB / 479.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.01137, allocations: 125.7 kB / 479.9 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007231/0.01209, allocations: 0.5513 MB / 480.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.0121, allocations: 0 / 480.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.0121, allocations: 0.7812 kB / 480.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.734e-05/0.01212, allocations: 2.625 kB / 480.5 MB, free: 11.48 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001468/0.01359, allocations: 0.6437 MB / 481.1 MB, free: 11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.01364, allocations: 8.406 kB / 481.1 MB, free: 11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/0.01396, allocations: 88.84 kB / 481.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.01464, allocations: 357.3 kB / 481.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.01467, allocations: 27.12 kB / 481.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.01474, allocations: 31.78 kB / 481.6 MB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.01534, allocations: 415.9 kB / 482 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.01536, allocations: 8.062 kB / 482 MB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.01539, allocations: 15.06 kB / 482.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.0154, allocations: 9.031 kB / 482.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.01588, allocations: 207.9 kB / 482.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.01733, allocations: 0.9706 MB / 483.2 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.01794, allocations: 226.8 kB / 483.5 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.01816, allocations: 110.4 kB / 483.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.0182, allocations: 3.25 kB / 483.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.01822, allocations: 33.03 kB / 483.6 MB, free: 9.422 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.142e-06/0.01822, allocations: 0.75 kB / 483.6 MB, free: 9.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007308/0.01895, allocations: 302.8 kB / 483.9 MB, free: 9.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.01899, allocations: 111 kB / 484 MB, free: 9.156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000582/0.01958, allocations: 327.2 kB / 484.3 MB, free: 24.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.0196, allocations: 31.52 kB / 484.4 MB, free: 24.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.01977, allocations: 227.9 kB / 484.6 MB, free: 24.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.01983, allocations: 79.84 kB / 484.7 MB, free: 24.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.132e-05/0.01992, allocations: 55.92 kB / 484.7 MB, free: 24.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.02012, allocations: 346.9 kB / 485.1 MB, free: 24.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.02031, allocations: 80.06 kB / 485.1 MB, free: 24.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.02054, allocations: 194.4 kB / 485.3 MB, free: 24.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.02092, allocations: 212.2 kB / 485.5 MB, free: 24.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.02093, allocations: 0 / 485.5 MB, free: 24.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005637/0.02149, allocations: 286 kB / 485.8 MB, free: 23.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.02151, allocations: 11.12 kB / 485.8 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.02152, allocations: 1.875 kB / 485.8 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/0.02155, allocations: 7 kB / 485.8 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.02178, allocations: 48.61 kB / 485.9 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.02179, allocations: 7.594 kB / 485.9 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.02199, allocations: 34.81 kB / 485.9 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.02202, allocations: 15.47 kB / 485.9 MB, free: 23.84 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: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001958/0.02222, allocations: 155.5 kB / 486.1 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/0.02231, allocations: 43.45 kB / 486.1 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.322e-05/0.02239, allocations: 48.89 kB / 486.2 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.02239, allocations: 2.719 kB / 486.2 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.0224, allocations: 1.562 kB / 486.2 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.0224, allocations: 3.094 kB / 486.2 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.02274, allocations: 277.2 kB / 486.4 MB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.02275, allocations: 5.688 kB / 486.5 MB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.02298, allocations: 38.91 kB / 486.5 MB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.02298, allocations: 1.156 kB / 486.5 MB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.02301, allocations: 12.56 kB / 486.5 MB, free: 23.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.02301, allocations: 1.875 kB / 486.5 MB, free: 23.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.02301, allocations: 3.938 kB / 486.5 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007432/0.02376, allocations: 426.5 kB / 486.9 MB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.02386, allocations: 50.61 kB / 487 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.0239, allocations: 10.19 kB / 487 MB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.02408, allocations: 17.02 kB / 487 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.02416, allocations: 22.14 kB / 487 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.02418, allocations: 4.719 kB / 487 MB, free: 23.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002635/0.02444, allocations: 232.7 kB / 487.3 MB, free: 23.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02444, allocations: 0 / 487.3 MB, free: 23.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003616/0.0248, allocations: 73.72 kB / 487.3 MB, free: 23 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001284/0.02493, allocations: 106.1 kB / 487.4 MB, free: 22.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004692/0.0254, allocations: 194.7 kB / 487.6 MB, free: 22.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.0254, allocations: 0 / 487.6 MB, free: 22.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.0256, allocations: 92.17 kB / 487.7 MB, free: 22.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.02616, allocations: 83.09 kB / 487.8 MB, free: 22.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.02746, allocations: 0.6762 MB / 488.5 MB, free: 22.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.02765, allocations: 190.7 kB / 488.7 MB, free: 22.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.02783, allocations: 36.44 kB / 488.7 MB, free: 22.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.623e-05/0.02792, allocations: 27.41 kB / 488.7 MB, free: 22.27 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02792, allocations: 0 / 488.7 MB, free: 22.27 MB / 426.7 MB Notification: Performance of Templates: time 0.008563/0.03648, allocations: 3.287 MB / 492 MB, free: 22 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.646973828901537]