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.001103/0.001103, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.002309, allocations: 449.7 kB / 10.37 MB, free: 328 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.001261/0.001261, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002115/0.003376, allocations: 463.6 kB / 11.71 MB, free: 2.457 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.9933/0.9933, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09583/1.089, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.6035/0.6035, allocations: 110.2 MB / 354.2 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.06191/0.6655, allocations: 34.96 MB / 389.2 MB, free: 9.367 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.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 2.906e-06/2.906e-06, allocations: 3.984 kB / 390.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.765e-05, allocations: 2.312 kB / 390.5 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.002978/0.002996, allocations: 2.952 MB / 393.4 MB, free: 5.113 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.004199, allocations: 1.005 MB / 394.4 MB, free: 4.102 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.004363, allocations: 15.88 kB / 394.4 MB, free: 4.086 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.004506, allocations: 67.33 kB / 394.5 MB, free: 4.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.004635, allocations: 111 kB / 394.6 MB, free: 3.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.00494, allocations: 215.6 kB / 394.8 MB, free: 3.699 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.005285, allocations: 0.4912 MB / 395.3 MB, free: 3.207 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.005499, allocations: 156.2 kB / 395.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.005821, allocations: 313.3 kB / 395.8 MB, free: 2.742 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.00596, allocations: 123.5 kB / 395.9 MB, free: 2.621 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.006003, allocations: 44 kB / 395.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.006082, allocations: 44 kB / 396 MB, free: 2.535 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.006126, allocations: 67.75 kB / 396 MB, free: 2.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.233e-05/0.006198, allocations: 103.7 kB / 396.2 MB, free: 2.367 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.006496, allocations: 282.8 kB / 396.4 MB, free: 2.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.639e-05/0.006512, allocations: 0 / 396.4 MB, free: 2.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006513, allocations: 3.938 kB / 396.4 MB, free: 2.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.006526, allocations: 4 kB / 396.4 MB, free: 2.082 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0006899/0.007216, allocations: 0.6823 MB / 397.1 MB, free: 1.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.007244, allocations: 12.03 kB / 397.1 MB, free: 1.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.007403, allocations: 142 kB / 397.3 MB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.007735, allocations: 314.8 kB / 397.6 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.007758, allocations: 21.03 kB / 397.6 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.007792, allocations: 32.38 kB / 397.6 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.00807, allocations: 334.9 kB / 398 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.008082, allocations: 192 / 398 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.008097, allocations: 8.375 kB / 398 MB, free: 448 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.008105, allocations: 11.94 kB / 398 MB, free: 436 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.00822, allocations: 87.11 kB / 398.1 MB, free: 348 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.00894, allocations: 0.7632 MB / 398.8 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.009157, allocations: 142.4 kB / 399 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.009206, allocations: 48.83 kB / 399 MB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.009228, allocations: 11.94 kB / 399 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.00925, allocations: 34.5 kB / 399.1 MB, free: 15.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.009251, allocations: 0 / 399.1 MB, free: 15.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001941/0.009445, allocations: 137.9 kB / 399.2 MB, free: 15.15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.009471, allocations: 51.41 kB / 399.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.009638, allocations: 299.3 kB / 399.5 MB, free: 14.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.00966, allocations: 37.69 kB / 399.6 MB, free: 14.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/0.009739, allocations: 185.1 kB / 399.7 MB, free: 14.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.009781, allocations: 87.25 kB / 399.8 MB, free: 14.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.009835, allocations: 49.69 kB / 399.9 MB, free: 14.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.009925, allocations: 350.7 kB / 400.2 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.009958, allocations: 19.98 kB / 400.2 MB, free: 14.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.01004, allocations: 151 kB / 400.4 MB, free: 13.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.01014, allocations: 129.8 kB / 400.5 MB, free: 13.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01014, allocations: 0 / 400.5 MB, free: 13.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001452/0.01029, allocations: 157.4 kB / 400.7 MB, free: 13.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.0103, allocations: 8 kB / 400.7 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01031, allocations: 0 / 400.7 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.01032, allocations: 4 kB / 400.7 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.0105, allocations: 59.91 kB / 400.7 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.0105, allocations: 8.172 kB / 400.8 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.01057, allocations: 31.83 kB / 400.8 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.01058, allocations: 8 kB / 400.8 MB, free: 13.43 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: 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 8.486e-05/0.01067, allocations: 125.7 kB / 400.9 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.0107, allocations: 27.97 kB / 400.9 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.01075, allocations: 39.38 kB / 401 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01075, allocations: 4 kB / 401 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.01075, allocations: 0 / 401 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01076, allocations: 3.984 kB / 401 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.01093, allocations: 197.6 kB / 401.2 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.01094, allocations: 4 kB / 401.2 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.01106, allocations: 47.91 kB / 401.2 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.01111, allocations: 39.7 kB / 401.3 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01112, allocations: 0 / 401.3 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.01113, allocations: 7.984 kB / 401.3 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01113, allocations: 4 kB / 401.3 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01113, allocations: 3.938 kB / 401.3 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.01134, allocations: 255.3 kB / 401.5 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.01137, allocations: 4.031 kB / 401.5 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.01144, allocations: 12 kB / 401.5 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.01148, allocations: 23.89 kB / 401.6 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.01148, allocations: 4 kB / 401.6 MB, free: 12.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.791e-05/0.01156, allocations: 120.7 kB / 401.7 MB, free: 12.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01156, allocations: 4 kB / 401.7 MB, free: 12.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.01173, allocations: 63.84 kB / 401.8 MB, free: 12.42 MB / 394.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 8.361e-05/0.01181, allocations: 84.41 kB / 401.8 MB, free: 12.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.01195, allocations: 109.6 kB / 401.9 MB, free: 12.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.01196, allocations: 11.92 kB / 402 MB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.331e-05/0.01202, allocations: 60.7 kB / 402 MB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.01227, allocations: 97.19 kB / 402.1 MB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.01441, allocations: 0.6625 MB / 402.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.63e-05/0.01447, allocations: 96.61 kB / 402.9 MB, free: 11.24 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.945e-05/0.01457, allocations: 46.94 kB / 402.9 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.0147, allocations: 111.3 kB / 403 MB, free: 11.09 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01471, allocations: 0 / 403 MB, free: 11.09 MB / 394.7 MB Notification: Performance of Templates: time 0.005713/0.02042, allocations: 3.768 MB / 406.8 MB, free: 7.324 MB / 394.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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2017799504101276]